Bugfix: Ignore ischange flag when we're not the sender

If we didn't send it, it can't possibly be change, even if that's the key's purpose
pull/28545/head
Luke Dashjr 6 years ago
parent 71fbdb7f40
commit 2d182f77cd

@ -66,11 +66,13 @@ QList<TransactionRecord> TransactionRecord::decomposeTransaction(const interface
{
const CTxOut& txout = wtx.tx->vout[i];
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;
}
if (fAllFromMe) {
//
// Debit
//

Loading…
Cancel
Save