Show correct operator payee address in DIP3 MN list GUI (#2563)
* Show correct operator payee address in DIP3 MN list GUI * Rename dest to operatorDest
This commit is contained in:
parent
1908637228
commit
858bb52ad5
@ -466,9 +466,9 @@ void MasternodeList::updateDIP3List()
|
||||
operatorRewardStr += QString::number(dmn->nOperatorReward / 100.0, 'f', 2) + "%";
|
||||
|
||||
if (dmn->pdmnState->scriptOperatorPayout != CScript()) {
|
||||
CTxDestination dest;
|
||||
if (ExtractDestination(dmn->pdmnState->scriptOperatorPayout, dest)) {
|
||||
operatorRewardStr += tr(" to %1").arg(QString::fromStdString(CBitcoinAddress(payeeDest).ToString()));
|
||||
CTxDestination operatorDest;
|
||||
if (ExtractDestination(dmn->pdmnState->scriptOperatorPayout, operatorDest)) {
|
||||
operatorRewardStr += tr(" to %1").arg(QString::fromStdString(CBitcoinAddress(operatorDest).ToString()));
|
||||
} else {
|
||||
operatorRewardStr += tr(" to UNKNOWN");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user