Commit 4fad5958 authored by James Cunningham's avatar James Cunningham

Fix error in call to NewIterator function

Change number of args passed to NewIterator in print function to reflect changes in the goleveldb project.
parent e98b53bb
......@@ -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()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment