aboutsummaryrefslogtreecommitdiffstats
path: root/checkRandomStateTest.cpp
diff options
context:
space:
mode:
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;
}