aboutsummaryrefslogtreecommitdiff
path: root/depends
diff options
context:
space:
mode:
authorAntoine Poinsot <darosior@protonmail.com>2022-07-05 15:40:52 +0200
committerAntoine Poinsot <darosior@protonmail.com>2022-07-05 15:43:09 +0200
commit757216e31cac7dcd45e11b2a2c6148420b3b99da (patch)
tree04fecb4ca56d35b8a78417f825634db771c8420e /depends
parent9fb2a2bc6768ab03fcada9155d52a16ce6f6a0cc (diff)
downloadbitcoin-757216e31cac7dcd45e11b2a2c6148420b3b99da.tar.xz
wallet: don't iter twice when getting the cached debit/credit amount
Instead of calling GetCachableAmount twice, which will result in iterating through all the transaction txins/txouts and calling GetDebit/GetCredit (which lock cs_wallet), just merge the filters and do it once.
Diffstat (limited to 'depends')
0 files changed, 0 insertions, 0 deletions