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

Commit 20de101

Browse files
committed
DigitalNote v1.0.3.3 Initial
Changelog - Removed useless peer version check (Fixes no masternodes being seen on the network with v1.0.3.2)
1 parent 8c377ac commit 20de101

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

src/main.cpp

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4415,12 +4415,16 @@ bool static ProcessMessage(CNode* pfrom, string strCommand, CDataStream& vRecv)
44154415
if (fSecMsgEnabled) {
44164416
SecureMsgReceiveData(pfrom, strCommand, vRecv);
44174417
}
4418-
if (pfrom->nVersion >= MIN_MASTERNODE_BSC_RELAY) {
4419-
mnodeman.ProcessMessage(pfrom, strCommand, vRecv);
4420-
ProcessMessageMasternodePayments(pfrom, strCommand, vRecv);
4421-
ProcessMessageInstantX(pfrom, strCommand, vRecv);
4422-
ProcessSpork(pfrom, strCommand, vRecv);
4423-
}
4418+
// Relay and Request MasterNode peer data
4419+
//
4420+
// We already have checks to ensure we relay
4421+
// only the data that our peers can accept
4422+
// so this has to be enabled for basic reference
4423+
// relays such as masternode lists to occur.
4424+
mnodeman.ProcessMessage(pfrom, strCommand, vRecv);
4425+
ProcessMessageMasternodePayments(pfrom, strCommand, vRecv);
4426+
ProcessMessageInstantX(pfrom, strCommand, vRecv);
4427+
ProcessSpork(pfrom, strCommand, vRecv);
44244428
// Ignore unknown commands for extensibility
44254429
}
44264430

0 commit comments

Comments
 (0)