diff options
author | Antoine Poinsot <darosior@protonmail.com> | 2022-07-05 15:40:52 +0200 |
---|---|---|
committer | Antoine Poinsot <darosior@protonmail.com> | 2022-07-05 15:43:09 +0200 |
commit | 757216e31cac7dcd45e11b2a2c6148420b3b99da (patch) | |
tree | 04fecb4ca56d35b8a78417f825634db771c8420e /depends/packages/qt.mk | |
parent | 9fb2a2bc6768ab03fcada9155d52a16ce6f6a0cc (diff) | |
download | bitcoin-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/packages/qt.mk')
0 files changed, 0 insertions, 0 deletions