mirror of
https://codeberg.org/wowario/wownero
synced 2026-10-25 05:58:45 +01:00
fix unit tests
This commit is contained in:
@@ -22,7 +22,7 @@ namespace test
|
||||
make_miner_transaction(cryptonote::account_public_address const& to)
|
||||
{
|
||||
cryptonote::transaction tx{};
|
||||
if (!cryptonote::construct_miner_tx(0, 0, 5000, 500, 500, to, tx))
|
||||
if (!cryptonote::construct_miner_tx(nullptr, cryptonote::network_type::MAINNET, 0, 0, 5000, 500, 500, to, tx))
|
||||
throw std::runtime_error{"transaction construction error"};
|
||||
|
||||
crypto::hash id{0};
|
||||
|
||||
Reference in New Issue
Block a user