core/state/snapshot: gofmt

This commit is contained in:
Péter Szilágyi 2021-08-10 16:58:38 +03:00
parent a879c42bd3
commit 9d6480c3cd
No known key found for this signature in database
GPG Key ID: E9AE538CEDF8293D

View File

@ -172,10 +172,10 @@ type Tree struct {
// If the snapshot is missing or the disk layer is broken, the snapshot will be // 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. // reconstructed using both the existing data and the state trie.
// The repair happens on a background thread. // The repair happens on a background thread.
// //
// If the memory layers in the journal do not match the disk layer (e.g. there is // 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: // 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. // - 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. // This case happens when the snapshot is 'ahead' of the state trie.
// - otherwise, the entire snapshot is considered invalid and will be recreated on // - otherwise, the entire snapshot is considered invalid and will be recreated on