mirror of
https://github.com/dashpay/dash.git
synced 2024-12-26 20:42:59 +01:00
Use verifiedProRegTxHash.IsNull() instead of fMasternode to check for MN connections
fMasternode connections don't even relay anything anymore.
This commit is contained in:
parent
8ade2f7957
commit
8a0f702f39
@ -4078,7 +4078,7 @@ bool PeerLogicValidation::SendMessages(CNode* pto, std::atomic<bool>& interruptM
|
||||
fSendTrickle = true;
|
||||
// Use half the delay for regular outbound peers, as there is less privacy concern for them,
|
||||
// and quarter the delay for Masternode outbound peers, as there is even less privacy concern in this case.
|
||||
pto->nNextInvSend = PoissonNextSend(nNow, INVENTORY_BROADCAST_INTERVAL >> !pto->fInbound >> pto->fMasternode);
|
||||
pto->nNextInvSend = PoissonNextSend(nNow, INVENTORY_BROADCAST_INTERVAL >> !pto->fInbound >> !pto->verifiedProRegTxHash.IsNull());
|
||||
}
|
||||
|
||||
// Time to send but the peer has requested we not relay transactions.
|
||||
|
Loading…
Reference in New Issue
Block a user