core: fix typo in comment (#22773)

This commit is contained in:
aaronbuchwald 2021-04-30 06:50:02 -04:00 committed by GitHub
parent dde6cb0b92
commit b778e37daa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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.