aboutsummaryrefslogtreecommitdiffstats
path: root/TestHelper.cpp
diff options
context:
space:
mode:
authorwinsvega <winsvega@mail.ru>2015-04-23 18:09:23 +0800
committerwinsvega <winsvega@mail.ru>2015-04-24 21:03:14 +0800
commitd872539b1fd74452137309ac94fbb89e4faf6f43 (patch)
tree480b8f5ae4c4ac88077e8b5ed57a6f6c949e6682 /TestHelper.cpp
parentf1722d0f0aa1a769d425a330e40ffc09815a2c42 (diff)
downloaddexon-solidity-d872539b1fd74452137309ac94fbb89e4faf6f43.tar.gz
dexon-solidity-d872539b1fd74452137309ac94fbb89e4faf6f43.tar.zst
dexon-solidity-d872539b1fd74452137309ac94fbb89e4faf6f43.zip
blockweight: stateroot is hash
Diffstat (limited to 'TestHelper.cpp')
-rw-r--r--TestHelper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/TestHelper.cpp b/TestHelper.cpp
index 69ad7dba..b8e320e4 100644
--- a/TestHelper.cpp
+++ b/TestHelper.cpp
@@ -344,7 +344,7 @@ void ImportTest::exportTest(bytes const& _output, State const& _statePost)
// export post state
m_TestObject["post"] = fillJsonWithState(_statePost);
- m_TestObject["postStateRoot"] = toString(_statePost.rootHash().asBytes());
+ m_TestObject["postStateRoot"] = toHex(_statePost.rootHash().asBytes());
// export pre state
m_TestObject["pre"] = fillJsonWithState(m_statePre);