From 4fad5958d008328450073e3a98a37b0ca3cac51f Mon Sep 17 00:00:00 2001 From: James Cunningham Date: Wed, 26 Feb 2014 15:26:39 +0000 Subject: [PATCH] Fix error in call to NewIterator function Change number of args passed to NewIterator in print function to reflect changes in the goleveldb project. --- ethdb/database.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ethdb/database.go b/ethdb/database.go index d1967f0232..d149cbc08c 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()