Skip to content

Commit

Permalink
[gui] add more burn address
Browse files Browse the repository at this point in the history
Signed-off-by: crptec <crptec.fr@gmail.com>
  • Loading branch information
crptec committed Aug 20, 2021
1 parent fd6b644 commit 5619f58
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/qt/transactionrecord.cpp
Expand Up @@ -134,7 +134,10 @@ QList<TransactionRecord> TransactionRecord::decomposeTransaction(const interface
// Sent to Bitcoin Address
sub.type = TransactionRecord::SendToAddress;
sub.address = EncodeDestination(wtx.txout_address[nOut]);
if (sub.address == Params().GetConsensus().cBurnAddress || sub.address == Params().GetConsensus().cMetadataAddress)
if (sub.address == Params().GetConsensus().cBurnAddress || sub.address == Params().GetConsensus().cMetadataAddress
|| sub.address == Params().GetConsensus().cNotifyAddress || sub.address == Params().GetConsensus().cLockRewardAddress
|| sub.address == Params().GetConsensus().cGovernanceAddress
)
{
sub.type = TransactionRecord::Burn;
}
Expand Down

0 comments on commit 5619f58

Please sign in to comment.