Skip to content

Commit 40baa7d

Browse files
authored
Fixed Multisend dialog to show settings properly
Multisend will display a message if it has only been enabled for masternodes and if its enabled for both (Displaying this didnt work if multisend was only enabled for masternodes)
1 parent aedf80b commit 40baa7d

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/qt/multisenddialog.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,11 @@ void MultiSendDialog::on_viewButton_clicked()
7070
std::pair<std::string, int> pMultiSend;
7171
std::string strMultiSendPrint = "";
7272
if (pwalletMain->isMultiSendEnabled()) {
73-
if (pwalletMain->fMultiSendStake)
74-
strMultiSendPrint += "MultiSend Active for Stakes\n";
73+
if (pwalletMain->fMultiSendStake && pwalletMain->fMultiSendMasternodeReward)
74+
strMultiSendPrint += "MultiSend Active for Stakes and Masternode Reward\n";
7575
else if (pwalletMain->fMultiSendStake)
76+
strMultiSendPrint += "MultiSend Active for Stakes\n";
77+
else if (pwalletMain->fMultiSendMasternodeReward)
7678
strMultiSendPrint += "MultiSend Active for Masternode Rewards\n";
7779
} else
7880
strMultiSendPrint += "MultiSend Not Active\n";

0 commit comments

Comments
 (0)