Skip to content

Commit

Permalink
core: fix typo in comment (#22773)
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronbuchwald authored Apr 30, 2021
1 parent dde6cb0 commit b778e37
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 @@ -482,7 +482,7 @@ func (bc *BlockChain) SetHead(head uint64) error {

// SetHeadBeyondRoot rewinds the local chain to a new head with the extra condition
// that the rewind must pass the specified state root. This method is meant to be
// used when rewiding with snapshots enabled to ensure that we go back further than
// used when rewinding with snapshots enabled to ensure that we go back further than
// persistent disk layer. Depending on whether the node was fast synced or full, and
// in which state, the method will try to delete minimal data from disk whilst
// retaining chain consistency.
Expand Down

0 comments on commit b778e37

Please sign in to comment.