diff options
author | Zachary Michaels <mikezackles@gmail.com> | 2014-09-08 15:09:59 -0400 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2014-09-15 15:53:50 +0200 |
commit | 96eed84aad89e6e2799a9db91e2dd2e9fe0889f9 (patch) | |
tree | 81ae5c4709effb79c5cbc031c452a71ac07ac9f6 /tests/core_proxy | |
parent | Separate network id for testnet (diff) | |
download | monero-96eed84aad89e6e2799a9db91e2dd2e9fe0889f9.tar.xz |
Pass tx and nonce to genesis block constructor
Diffstat (limited to 'tests/core_proxy')
-rw-r--r-- | tests/core_proxy/core_proxy.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/core_proxy/core_proxy.cpp b/tests/core_proxy/core_proxy.cpp index f973f548d..3a44e91eb 100644 --- a/tests/core_proxy/core_proxy.cpp +++ b/tests/core_proxy/core_proxy.cpp @@ -227,7 +227,7 @@ bool tests::proxy_core::get_blockchain_top(uint64_t& height, crypto::hash& top_i } bool tests::proxy_core::init(const boost::program_options::variables_map& /*vm*/) { - generate_genesis_block(m_genesis); + generate_genesis_block(m_genesis, config::GENESIS_TX, config::GENESIS_NONCE); crypto::hash h = get_block_hash(m_genesis); add_block(h, get_block_longhash(m_genesis, 0), m_genesis, block_to_blob(m_genesis)); return true; |