mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-03-18 00:50:39 +00:00
Fix error in call to NewIterator function
Change number of args passed to NewIterator in print function to reflect changes in the goleveldb project.
This commit is contained in:
parent
e98b53bbef
commit
4fad5958d0
1 changed files with 1 additions and 1 deletions
|
|
@ -60,7 +60,7 @@ func (db *LDBDatabase) Close() {
|
|||
}
|
||||
|
||||
func (db *LDBDatabase) Print() {
|
||||
iter := db.db.NewIterator(nil)
|
||||
iter := db.db.NewIterator(nil,nil)
|
||||
for iter.Next() {
|
||||
key := iter.Key()
|
||||
value := iter.Value()
|
||||
|
|
|
|||
Loading…
Reference in a new issue