Skip to content

Commit

Permalink
GUI: fix coinstake tx ordering.
Browse files Browse the repository at this point in the history
  • Loading branch information
furszy committed Mar 10, 2021
1 parent 33588fe commit 0b61857
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/qt/transactionrecord.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -573,7 +573,7 @@ void TransactionRecord::updateStatus(const CWalletTx& wtx, int chainHeight)
// Sort order, unrecorded transactions sort to the top
status.sortKey = strprintf("%010d-%01d-%010u-%03d",
wtx.m_confirm.block_height,
(wtx.IsCoinBase() ? 1 : 0),
((wtx.IsCoinBase() || wtx.IsCoinStake()) ? 1 : 0),
time,
idx);

Expand Down

0 comments on commit 0b61857

Please sign in to comment.