aboutsummaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
authorAaron Buchwald <[email protected]>2020-11-09 11:58:46 -0500
committerAaron Buchwald <[email protected]>2020-11-09 11:58:46 -0500
commit72df173b512eb02306ebcb160b6924cad23cf7af (patch)
treeb59b8b550c893792c30e27c2e65ca598b8b923bc /plugin
parent06168d588c550afe373f03b47c75244dfa4c60cb (diff)
update db new iterator
Diffstat (limited to 'plugin')
-rw-r--r--plugin/evm/database.go2
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