mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-23 10:37:37 -07:00
Merge pull request #1300
eb19492
wallet2_api: do not copy the whole pending tx when iterating (moneromooo-monero)
This commit is contained in:
commit
c57ce06a97
@ -136,7 +136,7 @@ uint64_t PendingTransactionImpl::dust() const
|
||||
uint64_t PendingTransactionImpl::fee() const
|
||||
{
|
||||
uint64_t result = 0;
|
||||
for (const auto ptx : m_pending_tx) {
|
||||
for (const auto &ptx : m_pending_tx) {
|
||||
result += ptx.fee;
|
||||
}
|
||||
return result;
|
||||
|
Loading…
Reference in New Issue
Block a user