Skip to content

Commit

Permalink
core: fix a typo (ethereum#24198)
Browse files Browse the repository at this point in the history
  • Loading branch information
Xia-Sam authored and ValentinTrinque committed Jan 25, 2022
1 parent b05864d commit 20e1ff6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/blockchain.go
Expand Up @@ -554,7 +554,7 @@ func (bc *BlockChain) setHeadBeyondRoot(head uint64, root common.Hash, repair bo
// Degrade the chain markers if they are explicitly reverted.
// In theory we should update all in-memory markers in the
// last step, however the direction of SetHead is from high
// to low, so it's safe the update in-memory markers directly.
// to low, so it's safe to update in-memory markers directly.
bc.currentBlock.Store(newHeadBlock)
headBlockGauge.Update(int64(newHeadBlock.NumberU64()))
}
Expand Down

0 comments on commit 20e1ff6

Please sign in to comment.