pull/4041/merge v4.3.6
lutty 3 years ago committed by Leo Chen
parent e768dfc57e
commit 7e6b16aec8
  1. 2
      core/rawdb/accessors_offchain.go

@ -188,7 +188,7 @@ func IteratorValidatorSnapshot(iterator DatabaseIterator, cb func(addr common.Ad
iter := iterator.NewIteratorWithPrefix(validatorSnapshotPrefix) iter := iterator.NewIteratorWithPrefix(validatorSnapshotPrefix)
defer iter.Release() defer iter.Release()
minKey = headerPrefix minKey = validatorSnapshotPrefix
for iter.Next() { for iter.Next() {
// validatorSnapshotKey = validatorSnapshotPrefix + addr bytes (20 bytes) + epoch bytes // validatorSnapshotKey = validatorSnapshotPrefix + addr bytes (20 bytes) + epoch bytes
key := iter.Key() key := iter.Key()

Loading…
Cancel
Save