mirror of
https://github.com/dashpay/dash.git
synced 2024-12-26 12:32:48 +01:00
fixed bug with counting votes
This commit is contained in:
parent
12e5f8f4d4
commit
feaaf1e166
@ -43,10 +43,10 @@ public:
|
||||
nVotes = 0;
|
||||
}
|
||||
|
||||
CMasternodePayee(CAmount nValueIn, CScript payee) {
|
||||
CMasternodePayee(CAmount nValueIn, CScript payee, int nVotesIn) {
|
||||
scriptPubKey = payee;
|
||||
nValue = nValueIn;
|
||||
nVotes = 0;
|
||||
nVotes = nVotesIn;
|
||||
}
|
||||
};
|
||||
|
||||
@ -74,7 +74,7 @@ public:
|
||||
}
|
||||
}
|
||||
|
||||
CMasternodePayee c((CAmount)nAmount, payeeIn);
|
||||
CMasternodePayee c((CAmount)nAmount, payeeIn, nIncrement);
|
||||
vecPayments.push_back(c);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user