Skip to content

Commit

Permalink
fix: fix incorrect comment
Browse files Browse the repository at this point in the history
  • Loading branch information
VM committed Mar 28, 2024
1 parent e3a02fb commit e222cb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/blockchain.go
Original file line number Diff line number Diff line change
Expand Up @@ -831,7 +831,7 @@ func (bc *BlockChain) tryRewindBadBlocks() {
}
}

// rewindPathHead implements the logic of rewindHead in the context of hash scheme.
// rewindHashHead implements the logic of rewindHead in the context of hash scheme.
func (bc *BlockChain) rewindHashHead(head *types.Header, root common.Hash) (*types.Header, uint64) {
var (
limit uint64 // The oldest block that will be searched for this rewinding
Expand Down

0 comments on commit e222cb7

Please sign in to comment.