Skip to content

Commit

Permalink
Fix tests compilation
Browse files Browse the repository at this point in the history
- generate_genesis function now takes nettype variable as well
  • Loading branch information
who-biz committed Feb 10, 2020
1 parent a516831 commit c0ac805
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/core_proxy/core_proxy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,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);
generate_genesis_block(m_genesis, cryptonote::TESTNET);
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;
Expand Down

0 comments on commit c0ac805

Please sign in to comment.