From a287dbfd65e61a3955308941f8cff10e4245ae15 Mon Sep 17 00:00:00 2001 From: Jimmy Kiselak Date: Fri, 2 Oct 2015 01:51:50 -0400 Subject: [PATCH] fix how transactions are shown --- src/wallet/wallet.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wallet/wallet.cpp b/src/wallet/wallet.cpp index fb63ada45..1b43d5a04 100644 --- a/src/wallet/wallet.cpp +++ b/src/wallet/wallet.cpp @@ -993,7 +993,7 @@ void CWalletTx::GetAmounts(list& listReceived, COutputEntry output = {address, txout.nValue, (int)i}; // If we are debited by the transaction, add the output as a "sent" entry - if (nDebit > 0 || filter | ISMINE_CLAIM || filter | ISMINE_SUPPORT) + if (nDebit > 0 || filter & ISMINE_CLAIM || filter & ISMINE_SUPPORT) listSent.push_back(output); // If we are receiving the output, add it as a "received" entry