aboutsummaryrefslogtreecommitdiffstats
path: root/checkRandomStateTest.cpp
diff options
context:
space:
mode:
authorCJentzsch <jentzsch.software@gmail.com>2015-03-13 00:44:57 +0800
committerCJentzsch <jentzsch.software@gmail.com>2015-03-13 00:44:57 +0800
commit20cb72b297caccd95e4cb7349076277caf1d9ab1 (patch)
tree2f22064f160aa501a2a3a54a7d8224be518bad5a /checkRandomStateTest.cpp
parent24754c4693314cb9375ad549c8b8731559041793 (diff)
downloaddexon-solidity-20cb72b297caccd95e4cb7349076277caf1d9ab1.tar
dexon-solidity-20cb72b297caccd95e4cb7349076277caf1d9ab1.tar.gz
dexon-solidity-20cb72b297caccd95e4cb7349076277caf1d9ab1.tar.bz2
dexon-solidity-20cb72b297caccd95e4cb7349076277caf1d9ab1.tar.lz
dexon-solidity-20cb72b297caccd95e4cb7349076277caf1d9ab1.tar.xz
dexon-solidity-20cb72b297caccd95e4cb7349076277caf1d9ab1.tar.zst
dexon-solidity-20cb72b297caccd95e4cb7349076277caf1d9ab1.zip
bugfix
Diffstat (limited to 'checkRandomStateTest.cpp')
-rw-r--r--checkRandomStateTest.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/checkRandomStateTest.cpp b/checkRandomStateTest.cpp
index 9cd42dfd..601ef1ca 100644
--- a/checkRandomStateTest.cpp
+++ b/checkRandomStateTest.cpp
@@ -218,8 +218,11 @@ bool doStateTest(mValue& _v)
if(expectedAddrs != resultAddrs)
return 1;
#endif
- if(theState.rootHash() != h256(o["postStateRoot"].get_str()), "wrong post state root")
+ if(theState.rootHash() != h256(o["postStateRoot"].get_str()))
+ {
+ cout << "wrong post state root" << endl;
return 1;
+ }
}
return 0;
}