aboutsummaryrefslogtreecommitdiffstats
path: root/genesis.cpp
diff options
context:
space:
mode:
authorMarek Kotewicz <marek.kotewicz@gmail.com>2014-12-12 17:28:23 +0800
committerMarek Kotewicz <marek.kotewicz@gmail.com>2014-12-12 17:28:23 +0800
commit4fbf9105c35c6e13c5b9e2fa44b3c8570a85e05b (patch)
treedd2d26920ba3eda39395acf758191cd57fd4e560 /genesis.cpp
parentb95fbab7c2935c7ceee6908ed3f5a33afc354683 (diff)
parent98722ae8e842f54ff1dd67756cfeae7177431665 (diff)
downloaddexon-solidity-4fbf9105c35c6e13c5b9e2fa44b3c8570a85e05b.tar.gz
dexon-solidity-4fbf9105c35c6e13c5b9e2fa44b3c8570a85e05b.tar.zst
dexon-solidity-4fbf9105c35c6e13c5b9e2fa44b3c8570a85e05b.zip
Merge branch 'develop' into build_enhancement
Diffstat (limited to 'genesis.cpp')
-rw-r--r--genesis.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/genesis.cpp b/genesis.cpp
index 90974d1b..1b354dab 100644
--- a/genesis.cpp
+++ b/genesis.cpp
@@ -60,7 +60,7 @@ BOOST_AUTO_TEST_CASE(genesis_tests)
BOOST_CHECK_EQUAL(BlockChain::genesis().stateRoot, h256(o["genesis_state_root"].get_str()));
BOOST_CHECK_EQUAL(toHex(BlockChain::createGenesisBlock()), toHex(fromHex(o["genesis_rlp_hex"].get_str())));
- BOOST_CHECK_EQUAL(sha3(BlockChain::createGenesisBlock()), h256(o["genesis_hash"].get_str()));
+ BOOST_CHECK_EQUAL(BlockInfo::headerHash(BlockChain::createGenesisBlock()), h256(o["genesis_hash"].get_str()));
}
BOOST_AUTO_TEST_SUITE_END()