Skip to content

Commit

Permalink
Adjust MN GUI
Browse files Browse the repository at this point in the history
  • Loading branch information
Liquid369 committed Mar 28, 2023
1 parent f875cd1 commit 0fe9815
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 @@ -54,7 +54,7 @@ bool TransactionRecord::decomposeCoinStake(const CWallet* wallet, const CWalletT
} else if (isminetype mine = wallet->IsMine(wtx.tx->vout[nIndex - 2])) {
//Masternode reward
CTxDestination destMN;
int nIndexMN = (int) wtx.tx->vout.size() - 1;
int nIndexMN = (int) wtx.tx->vout.size() - 2;
if (ExtractDestination(wtx.tx->vout[nIndexMN].scriptPubKey, destMN) && (mine = IsMine(*wallet, destMN)) ) {
sub.involvesWatchAddress = mine & ISMINE_WATCH_ONLY;
sub.address = EncodeDestination(destMN);
Expand Down

0 comments on commit 0fe9815

Please sign in to comment.