mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-21 20:26:41 +00:00
drop unused diskStorageIterator fields
This commit is contained in:
parent
957a3602d9
commit
9c70bfa011
1 changed files with 2 additions and 4 deletions
|
|
@ -305,7 +305,6 @@ func (it *diffStorageIterator) Release() {}
|
|||
// aggregated buffer and the persistent disk layer as the data sources. The
|
||||
// staleness of the diff iterator is sufficient to invalidate the iterator pair.
|
||||
type diskStorageIterator struct {
|
||||
account common.Hash
|
||||
it ethdb.Iterator
|
||||
}
|
||||
|
||||
|
|
@ -313,7 +312,6 @@ type diskStorageIterator struct {
|
|||
func newDiskStorageIterator(db ethdb.KeyValueStore, account common.Hash, seek common.Hash) StorageIterator {
|
||||
pos := common.TrimRightZeroes(seek[:])
|
||||
return &diskStorageIterator{
|
||||
account: account,
|
||||
it: db.NewIterator(append(rawdb.SnapshotStoragePrefix, account.Bytes()...), pos),
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue