diff options
author | furszy <matiasfurszyfer@protonmail.com> | 2022-05-12 16:51:36 -0300 |
---|---|---|
committer | furszy <matiasfurszyfer@protonmail.com> | 2022-05-20 16:32:09 -0300 |
commit | 8897a21658ad93f7b628eb2a3411fec2265d73fb (patch) | |
tree | 7cb9f12ecc615b60174e2d6531d75004e764ecea /doc/release-notes.md | |
parent | 1ab389b1bac1378e17b13a4c4a81c24b92745cfb (diff) | |
download | bitcoin-8897a21658ad93f7b628eb2a3411fec2265d73fb.tar.xz |
rpc: getreceivedbylabel, don't loop over the entire wallet txs map if no destinations were found for the input label.
If wallet.GetLabelAddresses() returns an empty vector (the wallet does not have addresses with that label in the addressbook) or if none of the returned destinations are from the wallet, we can return the function right away.
Diffstat (limited to 'doc/release-notes.md')
0 files changed, 0 insertions, 0 deletions