mirror of
https://codeberg.org/wowario/wownero
synced 2026-11-27 14:24:21 +01:00
fix unit tests
This commit is contained in:
@@ -55,7 +55,7 @@ public:
|
||||
{
|
||||
m_miners[i].generate();
|
||||
|
||||
if (!construct_miner_tx(0, 0, 0, 2, 0, m_miners[i].get_keys().m_account_address, m_miner_txs[i]))
|
||||
if (!construct_miner_tx(nullptr, cryptonote::network_type::MAINNET, 0, 0, 0, 2, 0, m_miners[i].get_keys().m_account_address, m_miner_txs[i]))
|
||||
return false;
|
||||
|
||||
txout_to_key tx_out = boost::get<txout_to_key>(m_miner_txs[i].vout[0].target);
|
||||
|
||||
@@ -43,7 +43,7 @@ public:
|
||||
|
||||
m_bob.generate();
|
||||
|
||||
if (!construct_miner_tx(0, 0, 0, 2, 0, m_bob.get_keys().m_account_address, m_tx))
|
||||
if (!construct_miner_tx(nullptr, cryptonote::network_type::MAINNET, 0, 0, 0, 2, 0, m_bob.get_keys().m_account_address, m_tx))
|
||||
return false;
|
||||
|
||||
m_tx_pub_key = get_tx_pub_key_from_extra(m_tx);
|
||||
|
||||
Reference in New Issue
Block a user