diff --git a/core/blockchain.go b/core/blockchain.go index b6405ab1f3..aab2e72f3a 100644 --- a/core/blockchain.go +++ b/core/blockchain.go @@ -526,7 +526,7 @@ func (bc *BlockChain) HasBlockAndState(hash common.Hash) bool { return false } // Ensure the associated state is also present - _, err := state.New(block.Root(), bc.stateCache) + _, err := bc.stateCache.OpenTrie(block.Root()) return err == nil }