aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/qt/transactionrecord.cpp10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/qt/transactionrecord.cpp b/src/qt/transactionrecord.cpp
index 8a373451eb..85b7e70187 100644
--- a/src/qt/transactionrecord.cpp
+++ b/src/qt/transactionrecord.cpp
@@ -66,11 +66,13 @@ QList<TransactionRecord> TransactionRecord::decomposeTransaction(const interface
{
const CTxOut& txout = wtx.tx->vout[i];
- if (wtx.txout_is_change[i]) {
- continue;
- }
-
if (fAllFromMe) {
+ // Change is only really possible if we're the sender
+ // Otherwise, someone just sent bitcoins to a change address, which should be shown
+ if (wtx.txout_is_change[i]) {
+ continue;
+ }
+
//
// Debit
//