diff --git a/core/state/statedb.go b/core/state/statedb.go index dc5d7bb1d2..5f5c3c5c5f 100644 --- a/core/state/statedb.go +++ b/core/state/statedb.go @@ -185,12 +185,7 @@ func New(root common.Hash, db Database) (*StateDB, error) { // NewWithReader creates a new state for the specified state root. Unlike New, // this function accepts an additional Reader which is bound to the given root. func NewWithReader(root common.Hash, db Database, reader Reader) (*StateDB, error) { - tr, err := db.OpenTrie(root) - if err != nil { - return nil, err - } sdb := &StateDB{ - trie: tr, db: db, originalRoot: root, reader: reader,