fix unit tests

This commit is contained in:
wowario
2025-09-19 00:43:09 +03:00
parent 649426415b
commit 78e8d104f3
10 changed files with 27 additions and 24 deletions
+1 -1
View File
@@ -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);