Skip to content

Commit 9cd21e1

Browse files
authored
Merge pull request #23 from LIMXTEC/DEV_1
Bugfixes
2 parents 07fc180 + 9d9823f commit 9cd21e1

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

configure.ac

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ AC_PREREQ([2.60])
33
define(_CLIENT_VERSION_MAJOR, 1)
44
define(_CLIENT_VERSION_MINOR, 9)
55
define(_CLIENT_VERSION_REVISION, 9)
6-
define(_CLIENT_VERSION_BUILD, 4)
6+
define(_CLIENT_VERSION_BUILD, 5)
77
define(_CLIENT_VERSION_IS_RELEASE, true)
88
define(_COPYRIGHT_YEAR, 2020)
99
define(_COPYRIGHT_HOLDERS,[The %s developers])

src/activemasternode.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -217,12 +217,14 @@ void CActiveMasternode::ManageStateRemote()
217217
mnodeman.CheckMasternode(pubKeyMasternode, true);
218218
masternode_info_t infoMn;
219219
if(mnodeman.GetMasternodeInfo(pubKeyMasternode, infoMn)) {
220+
/*
220221
if(infoMn.nProtocolVersion != PROTOCOL_VERSION) {
221222
nState = ACTIVE_MASTERNODE_NOT_CAPABLE;
222223
strNotCapableReason = "Invalid protocol version";
223224
LogPrintf("CActiveMasternode::ManageStateRemote -- %s: %s\n", GetStateString(), strNotCapableReason);
224225
return;
225226
}
227+
*/
226228
if(service != infoMn.addr) {
227229
nState = ACTIVE_MASTERNODE_NOT_CAPABLE;
228230
strNotCapableReason = "Broadcasted IP doesn't match our external address. Make sure you issued a new broadcast if IP of this masternode changed recently.";

src/governance-object.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ class CGovernanceObject;
2525
class CGovernanceVote;
2626

2727
static const int MAX_GOVERNANCE_OBJECT_DATA_SIZE = 16 * 1024;
28-
static const int MIN_GOVERNANCE_PEER_PROTO_VERSION = 70006;
29-
static const int GOVERNANCE_FILTER_PROTO_VERSION = 70006;
28+
static const int MIN_GOVERNANCE_PEER_PROTO_VERSION = 70005;
29+
static const int GOVERNANCE_FILTER_PROTO_VERSION = 70005;
3030

3131
static const double GOVERNANCE_FILTER_FP_RATE = 0.001;
3232

0 commit comments

Comments
 (0)