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
@@ -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};