fixed mod

This commit is contained in:
Evan Duffield 2014-07-26 08:32:02 -07:00
parent 60bafcd3ff
commit 1f5dbdeedc
2 changed files with 2 additions and 7 deletions

View File

@ -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

View File

@ -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();
}