Skip to content

Commit

Permalink
Merge pull request Veil-Project#493 from codeofalltrades/fix-429
Browse files Browse the repository at this point in the history
[Wallet] Transaction Detail - Remove the denomination amount that won the stake
  • Loading branch information
presstab authored Apr 17, 2019
2 parents aa82f8b + 8165a7f commit 0468c76
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/qt/transactionrecord.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,10 @@ QList<TransactionRecord> TransactionRecord::decomposeTransaction(const interface
if (pOut->IsZerocoinMint())
sub.credit += pOut->GetValue();
}
sub.debit -= wtx.tx->vin[0].GetZerocoinSpent();

// Remove the denomination amount that won the stake.
sub.credit -= wtx.tx->vin[0].GetZerocoinSpent();

parts.append(sub);
}
} else if (wtx.tx->IsZerocoinSpend()) {
Expand Down

0 comments on commit 0468c76

Please sign in to comment.