diff --git a/src/wallet/wallet2.cpp b/src/wallet/wallet2.cpp index 84d9fa4..5927156 100644 --- a/src/wallet/wallet2.cpp +++ b/src/wallet/wallet2.cpp @@ -11266,9 +11266,9 @@ std::vector wallet2::create_transactions_all(uint64_t below // gather all dust and non-dust outputs of specified subaddress (if any) and below specified threshold (if any) bool fund_found = false; //for (size_t idx = 0; idx < m_transfers_indices[asset_type].size(); idx++) - for (const auto& idx: m_transfers_indices[asset_type]) + for (const auto& i: m_transfers_indices[asset_type]) { - size_t i = m_transfers_indices[asset_type][idx]; + //size_t i = m_transfers_indices[asset_type][idx]; const transfer_details& td = m_transfers[i]; if (m_ignore_fractional_outputs && td.amount() < fractional_threshold) {