mirror of
https://github.com/monero-project/monero.git
synced 2025-08-03 13:16:09 -04:00
avoid a couple needless copies
This commit is contained in:
parent
ff4d470629
commit
267ce5b718
2 changed files with 2 additions and 2 deletions
|
@ -1548,7 +1548,7 @@ namespace hw {
|
|||
const bool need_additional_txkeys_x = need_additional_txkeys;
|
||||
|
||||
std::vector<crypto::secret_key> additional_tx_keys_x;
|
||||
for (const auto k: additional_tx_keys) {
|
||||
for (const auto &k: additional_tx_keys) {
|
||||
additional_tx_keys_x.push_back(hw::ledger::decrypt(k));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue