diff options
author | CJentzsch <jentzsch.software@gmail.com> | 2015-03-13 00:44:57 +0800 |
---|---|---|
committer | CJentzsch <jentzsch.software@gmail.com> | 2015-03-13 00:44:57 +0800 |
commit | 20cb72b297caccd95e4cb7349076277caf1d9ab1 (patch) | |
tree | 2f22064f160aa501a2a3a54a7d8224be518bad5a /checkRandomStateTest.cpp | |
parent | 24754c4693314cb9375ad549c8b8731559041793 (diff) | |
download | dexon-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.cpp | 5 |
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; } |