1
0
Fork 0
forked from lthn/blockchain

fix loop variable type here and there (performance)

This commit is contained in:
sowle 2024-02-17 05:06:44 +01:00
parent b21083db1f
commit 054be248cb
No known key found for this signature in database
GPG key ID: C07A24B2D89D49FC

View file

@ -1636,7 +1636,7 @@ void wallet2::load_wti_from_process_transaction_context(wallet_public::wallet_tr
{
wti.remote_addresses = tx_process_context.recipients;
wti.remote_aliases = tx_process_context.remote_aliases;
for (const auto bce : tx_process_context.total_balance_change)
for (const auto& bce : tx_process_context.total_balance_change)
{
wallet_public::wallet_sub_transfer_info wsti = AUTO_VAL_INIT(wsti);
wsti.asset_id = bce.first;