[wallet] Restore ability to list incoming transactions by label
Backport of PR 14411 to v0.17. This change partially reverts #13075 and #14023. Fixes #14382
This commit is contained in:
parent
afb4aabe3b
commit
c33bab30d2
1 changed files with 6 additions and 0 deletions
|
@ -1293,6 +1293,12 @@ static void ListTransactions(interfaces::Chain::Lock& locked_chain, CWallet* con
|
|||
|
||||
bool involvesWatchonly = wtx.IsFromMe(ISMINE_WATCH_ONLY);
|
||||
|
||||
bool list_sent = fAllAccounts;
|
||||
|
||||
if (IsDeprecatedRPCEnabled("accounts")) {
|
||||
list_sent |= strAccount == strSentAccount;
|
||||
}
|
||||
|
||||
// Sent
|
||||
if (!filter_label)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue