diff options
-rw-r--r-- | test/libsolidity/SolidityExecutionFramework.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/libsolidity/SolidityExecutionFramework.cpp b/test/libsolidity/SolidityExecutionFramework.cpp index 8c026ffd..abb564db 100644 --- a/test/libsolidity/SolidityExecutionFramework.cpp +++ b/test/libsolidity/SolidityExecutionFramework.cpp @@ -116,5 +116,7 @@ u256 ExecutionFramework::balanceAt(Address const& _addr) bool ExecutionFramework::storageEmpty(Address const& _addr) { - return h256(m_rpc.eth_getStorageRoot(toString(_addr), "latest")) == EmptySHA3; + h256 root(m_rpc.eth_getStorageRoot(toString(_addr), "latest")); + BOOST_CHECK(root); + return root == EmptyTrie; } |