revert to version that works with 1.9.10

This commit is contained in:
Ian Norden
2020-09-09 10:54:27 -05:00
parent 520d6b9b90
commit dece84dc59
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -71,7 +71,7 @@ func main() {
database := ipfsethdb.NewDatabase(ipfsNode.Blocks)
stateDatabase := state.NewDatabase(database)
stateDB, _ := state.New(common.Hash{}, stateDatabase, nil)
stateDB, _ := state.New(common.Hash{}, stateDatabase)
stateDBNodeIterator := state.NewNodeIterator(stateDB)
// do stuff with the statedb node iterator
}
+1 -1
View File
@@ -33,7 +33,7 @@ func main() {
database := pgipfsethdb.NewDatabase(db)
stateDatabase := state.NewDatabase(database)
stateDB, _ := state.New(common.Hash{}, stateDatabase, nil)
stateDB, _ := state.New(common.Hash{}, stateDatabase)
stateDBNodeIterator := state.NewNodeIterator(stateDB)
// do stuff with the statedb node iterator
}