mirror of
https://github.com/dashpay/dash.git
synced 2024-12-30 14:25:53 +01:00
fixed a bug causing inactive/wrong masternodes to be selected
This commit is contained in:
parent
bfb4e53d10
commit
f9d005f79a
@ -9,7 +9,7 @@
|
|||||||
#define CLIENT_VERSION_MAJOR 0
|
#define CLIENT_VERSION_MAJOR 0
|
||||||
#define CLIENT_VERSION_MINOR 9
|
#define CLIENT_VERSION_MINOR 9
|
||||||
#define CLIENT_VERSION_REVISION 10
|
#define CLIENT_VERSION_REVISION 10
|
||||||
#define CLIENT_VERSION_BUILD 0
|
#define CLIENT_VERSION_BUILD 1
|
||||||
|
|
||||||
// Set to true for release, false for prerelease or test build
|
// Set to true for release, false for prerelease or test build
|
||||||
#define CLIENT_VERSION_IS_RELEASE true
|
#define CLIENT_VERSION_IS_RELEASE true
|
||||||
|
@ -5798,7 +5798,10 @@ int CDarkSendPool::GetCurrentMasterNode(int mod)
|
|||||||
|
|
||||||
BOOST_FOREACH(CMasterNode mn, darkSendMasterNodes) {
|
BOOST_FOREACH(CMasterNode mn, darkSendMasterNodes) {
|
||||||
mn.Check();
|
mn.Check();
|
||||||
if(!mn.IsEnabled()) continue;
|
if(!mn.IsEnabled()) {
|
||||||
|
i++;
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
uint256 n = mn.CalculateScore(mod);
|
uint256 n = mn.CalculateScore(mod);
|
||||||
unsigned int n2 = 0;
|
unsigned int n2 = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user