mirror of
https://github.com/monero-project/monero.git
synced 2024-10-01 11:49:47 -04:00
Merge pull request #7705
581c3af
Warnings: unused var at cryptonote_tx_utils.cpp (mj-xmr)
This commit is contained in:
commit
d845a5a0c3
@ -622,8 +622,10 @@ namespace cryptonote
|
|||||||
if (need_additional_txkeys)
|
if (need_additional_txkeys)
|
||||||
{
|
{
|
||||||
additional_tx_keys.clear();
|
additional_tx_keys.clear();
|
||||||
for (const auto &d: destinations)
|
for (size_t i = 0; i < destinations.size(); ++i)
|
||||||
|
{
|
||||||
additional_tx_keys.push_back(keypair::generate(sender_account_keys.get_device()).sec);
|
additional_tx_keys.push_back(keypair::generate(sender_account_keys.get_device()).sec);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
bool r = construct_tx_with_tx_key(sender_account_keys, subaddresses, sources, destinations, change_addr, extra, tx, unlock_time, tx_key, additional_tx_keys, rct, rct_config, msout);
|
bool r = construct_tx_with_tx_key(sender_account_keys, subaddresses, sources, destinations, change_addr, extra, tx, unlock_time, tx_key, additional_tx_keys, rct, rct_config, msout);
|
||||||
|
Loading…
Reference in New Issue
Block a user