diff options
author | Riccardo Spagni <ric@spagni.net> | 2019-09-25 17:52:15 -0400 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2019-09-25 17:52:16 -0400 |
commit | b8643752c122a32096733fb8686d8f2eafcf6ff8 (patch) | |
tree | 6a735c25f25996dc2f31f02708d45a001f1315fc /tests/core_proxy | |
parent | Merge pull request #5930 (diff) | |
parent | RandomX integration (diff) | |
download | monero-b8643752c122a32096733fb8686d8f2eafcf6ff8.tar.xz |
Merge pull request #5549
81c2ad6d RandomX integration (Howard Chu)
Diffstat (limited to 'tests/core_proxy')
-rw-r--r-- | tests/core_proxy/core_proxy.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/core_proxy/core_proxy.cpp b/tests/core_proxy/core_proxy.cpp index 388808269..ed68f04e7 100644 --- a/tests/core_proxy/core_proxy.cpp +++ b/tests/core_proxy/core_proxy.cpp @@ -209,7 +209,7 @@ bool tests::proxy_core::handle_incoming_block(const cryptonote::blobdata& block_ crypto::hash lh; cout << "BLOCK" << endl << endl; cout << (h = get_block_hash(b)) << endl; - cout << (lh = get_block_longhash(b, 0)) << endl; + cout << (lh = get_block_longhash(NULL, b, 0, 0)) << endl; cout << get_transaction_hash(b.miner_tx) << endl; cout << ::get_object_blobsize(b.miner_tx) << endl; //cout << string_tools::buff_to_hex_nodelimer(block_blob) << endl; @@ -236,7 +236,7 @@ void 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, 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)); + add_block(h, get_block_longhash(NULL, m_genesis, 0, 0), m_genesis, block_to_blob(m_genesis)); return true; } |