diff options
author | Aaron Buchwald <[email protected]> | 2020-11-09 11:58:46 -0500 |
---|---|---|
committer | Aaron Buchwald <[email protected]> | 2020-11-09 11:58:46 -0500 |
commit | 72df173b512eb02306ebcb160b6924cad23cf7af (patch) | |
tree | b59b8b550c893792c30e27c2e65ca598b8b923bc /plugin/evm/database.go | |
parent | 06168d588c550afe373f03b47c75244dfa4c60cb (diff) |
update db new iterator
Diffstat (limited to 'plugin/evm/database.go')
-rw-r--r-- | plugin/evm/database.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/evm/database.go b/plugin/evm/database.go index fff18cb..59a78a9 100644 --- a/plugin/evm/database.go +++ b/plugin/evm/database.go @@ -48,7 +48,7 @@ func (db Database) NewBatch() ethdb.Batch { return Batch{db.Database.NewBatch()} // NewIterator implements ethdb.Database func (db Database) NewIterator(prefix []byte, start []byte) ethdb.Iterator { - return db.NewIteratorWithStartAndPrefix(start, prefix) + return db.Database.NewIteratorWithStartAndPrefix(start, prefix) } // NewIteratorWithStart implements ethdb.Database |