Skip to content
This repository has been archived by the owner on Jul 23, 2021. It is now read-only.

Commit

Permalink
DigitalNote v1.0.3.3 Initial
Browse files Browse the repository at this point in the history
Changelog

- Removed useless peer version check (Fixes no masternodes being seen on the network with v1.0.3.2)
  • Loading branch information
CryptoCoderz committed Oct 8, 2020
1 parent 8c377ac commit 20de101
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4415,12 +4415,16 @@ bool static ProcessMessage(CNode* pfrom, string strCommand, CDataStream& vRecv)
if (fSecMsgEnabled) {
SecureMsgReceiveData(pfrom, strCommand, vRecv);
}
if (pfrom->nVersion >= MIN_MASTERNODE_BSC_RELAY) {
mnodeman.ProcessMessage(pfrom, strCommand, vRecv);
ProcessMessageMasternodePayments(pfrom, strCommand, vRecv);
ProcessMessageInstantX(pfrom, strCommand, vRecv);
ProcessSpork(pfrom, strCommand, vRecv);
}
// Relay and Request MasterNode peer data
//
// We already have checks to ensure we relay
// only the data that our peers can accept
// so this has to be enabled for basic reference
// relays such as masternode lists to occur.
mnodeman.ProcessMessage(pfrom, strCommand, vRecv);
ProcessMessageMasternodePayments(pfrom, strCommand, vRecv);
ProcessMessageInstantX(pfrom, strCommand, vRecv);
ProcessSpork(pfrom, strCommand, vRecv);
// Ignore unknown commands for extensibility
}

Expand Down

0 comments on commit 20de101

Please sign in to comment.