From dece84dc59145e540ce49aa91e22739806c36117 Mon Sep 17 00:00:00 2001 From: Ian Norden Date: Tue, 8 Sep 2020 16:14:27 -0500 Subject: [PATCH] revert to version that works with 1.9.10 --- README.md | 2 +- postgres/doc.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 952c22c..eb1232a 100644 --- a/README.md +++ b/README.md @@ -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 } diff --git a/postgres/doc.md b/postgres/doc.md index 1e8f1b9..504fcde 100644 --- a/postgres/doc.md +++ b/postgres/doc.md @@ -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 }