diff --git a/libethereum/State.cpp b/libethereum/State.cpp index 362e2c94c..1dfa7aeef 100644 --- a/libethereum/State.cpp +++ b/libethereum/State.cpp @@ -966,7 +966,7 @@ bool State::isTrieGood(bool _enforceRefs, bool _requireNoLeftOvers) const RLP r(i.second); TrieDB storageDB(const_cast(&m_db), r[2].toHash()); // promise not to alter OverlayDB. for (auto const& j: storageDB) { (void)j; } - if (!e && r[3].toHash() != EmptySHA3 && m_db.lookup(r[3].toHash()).empty()) + if (!e && r[3].toHash() && m_db.lookup(r[3].toHash()).empty()) return false; } }