mirror of
https://github.com/dashpay/dash.git
synced 2024-12-29 13:59:06 +01:00
fixed mod
This commit is contained in:
parent
60bafcd3ff
commit
1f5dbdeedc
@ -9,7 +9,7 @@
|
||||
#define CLIENT_VERSION_MAJOR 0
|
||||
#define CLIENT_VERSION_MINOR 9
|
||||
#define CLIENT_VERSION_REVISION 12
|
||||
#define CLIENT_VERSION_BUILD 6
|
||||
#define CLIENT_VERSION_BUILD 7
|
||||
|
||||
// Set to true for release, false for prerelease or test build
|
||||
#define CLIENT_VERSION_IS_RELEASE true
|
||||
|
@ -66,12 +66,7 @@ Value masternode(const Array& params, bool fHelp)
|
||||
|
||||
if (strCommand == "current")
|
||||
{
|
||||
int mod = 10;
|
||||
if (params.size() == 2){
|
||||
mod = 1;
|
||||
}
|
||||
|
||||
int winner = darkSendPool.GetCurrentMasterNode(mod);
|
||||
int winner = darkSendPool.GetCurrentMasterNode(1);
|
||||
if(winner >= 0) {
|
||||
return darkSendMasterNodes[winner].addr.ToString().c_str();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user