Skip to content

Commit

Permalink
Merge pull request #23 from LIMXTEC/DEV_1
Browse files Browse the repository at this point in the history
Bugfixes
  • Loading branch information
limxdev authored Aug 14, 2020
2 parents 07fc180 + 9d9823f commit 9cd21e1
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ AC_PREREQ([2.60])
define(_CLIENT_VERSION_MAJOR, 1)
define(_CLIENT_VERSION_MINOR, 9)
define(_CLIENT_VERSION_REVISION, 9)
define(_CLIENT_VERSION_BUILD, 4)
define(_CLIENT_VERSION_BUILD, 5)
define(_CLIENT_VERSION_IS_RELEASE, true)
define(_COPYRIGHT_YEAR, 2020)
define(_COPYRIGHT_HOLDERS,[The %s developers])
Expand Down
2 changes: 2 additions & 0 deletions src/activemasternode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -217,12 +217,14 @@ void CActiveMasternode::ManageStateRemote()
mnodeman.CheckMasternode(pubKeyMasternode, true);
masternode_info_t infoMn;
if(mnodeman.GetMasternodeInfo(pubKeyMasternode, infoMn)) {
/*
if(infoMn.nProtocolVersion != PROTOCOL_VERSION) {
nState = ACTIVE_MASTERNODE_NOT_CAPABLE;
strNotCapableReason = "Invalid protocol version";
LogPrintf("CActiveMasternode::ManageStateRemote -- %s: %s\n", GetStateString(), strNotCapableReason);
return;
}
*/
if(service != infoMn.addr) {
nState = ACTIVE_MASTERNODE_NOT_CAPABLE;
strNotCapableReason = "Broadcasted IP doesn't match our external address. Make sure you issued a new broadcast if IP of this masternode changed recently.";
Expand Down
4 changes: 2 additions & 2 deletions src/governance-object.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ class CGovernanceObject;
class CGovernanceVote;

static const int MAX_GOVERNANCE_OBJECT_DATA_SIZE = 16 * 1024;
static const int MIN_GOVERNANCE_PEER_PROTO_VERSION = 70006;
static const int GOVERNANCE_FILTER_PROTO_VERSION = 70006;
static const int MIN_GOVERNANCE_PEER_PROTO_VERSION = 70005;
static const int GOVERNANCE_FILTER_PROTO_VERSION = 70005;

static const double GOVERNANCE_FILTER_FP_RATE = 0.001;

Expand Down

0 comments on commit 9cd21e1

Please sign in to comment.