Warnings: unused var at cryptonote_tx_utils.cpp
This commit is contained in:
parent
0a1ddc2eff
commit
581c3af03a
|
@ -622,9 +622,11 @@ 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);
|
||||||
hwdev.close_tx();
|
hwdev.close_tx();
|
||||||
|
|
Loading…
Reference in New Issue