diff options
author | James Cunningham <j.a.cunningham@gmail.com> | 2014-02-26 23:26:39 +0800 |
---|---|---|
committer | James Cunningham <j.a.cunningham@gmail.com> | 2014-02-26 23:26:39 +0800 |
commit | 4fad5958d008328450073e3a98a37b0ca3cac51f (patch) | |
tree | 3aab24481652d534bcacf2745e61e5e03ea018fb | |
parent | e98b53bbef8cdbeed54546c75d856d53810e424c (diff) | |
download | dexon-4fad5958d008328450073e3a98a37b0ca3cac51f.tar dexon-4fad5958d008328450073e3a98a37b0ca3cac51f.tar.gz dexon-4fad5958d008328450073e3a98a37b0ca3cac51f.tar.bz2 dexon-4fad5958d008328450073e3a98a37b0ca3cac51f.tar.lz dexon-4fad5958d008328450073e3a98a37b0ca3cac51f.tar.xz dexon-4fad5958d008328450073e3a98a37b0ca3cac51f.tar.zst dexon-4fad5958d008328450073e3a98a37b0ca3cac51f.zip |
Fix error in call to NewIterator function
Change number of args passed to NewIterator in print function to reflect changes in the goleveldb project.
-rw-r--r-- | ethdb/database.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ethdb/database.go b/ethdb/database.go index d1967f023..d149cbc08 100644 --- a/ethdb/database.go +++ b/ethdb/database.go @@ -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() |