Merge pull request #23371 from karalabe/gofmt

core/state/snapshot: gofmt
revert-23120-drop-eth-65
Péter Szilágyi 3 years ago committed by GitHub
commit 5d0ab07343
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      core/state/snapshot/snapshot.go

@ -172,10 +172,10 @@ type Tree struct {
// If the snapshot is missing or the disk layer is broken, the snapshot will be
// reconstructed using both the existing data and the state trie.
// The repair happens on a background thread.
//
//
// If the memory layers in the journal do not match the disk layer (e.g. there is
// a gap) or the journal is missing, there are two repair cases:
//
//
// - if the 'recovery' parameter is true, all memory diff-layers will be discarded.
// This case happens when the snapshot is 'ahead' of the state trie.
// - otherwise, the entire snapshot is considered invalid and will be recreated on

Loading…
Cancel
Save