core: fix typo in comment (#22773)

pull/22789/head
aaronbuchwald 3 years ago committed by GitHub
parent dde6cb0b92
commit b778e37daa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      core/blockchain.go

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

Loading…
Cancel
Save