mirror of
https://github.com/dashpay/dash.git
synced 2024-12-24 19:42:46 +01:00
Fix IS-locks sync via mempool
p2p command (#3766)
This commit is contained in:
parent
9ceee5df20
commit
7b72e98092
@ -4158,8 +4158,8 @@ bool PeerLogicValidation::SendMessages(CNode* pto, std::atomic<bool>& interruptM
|
||||
CInv islockInv(MSG_ISLOCK, islockHash);
|
||||
pto->filterInventoryKnown.insert(islockHash);
|
||||
|
||||
LogPrint(BCLog::NET, "SendMessages -- queued inv: %s index=%d peer=%d\n", inv.ToString(), vInv.size(), pto->GetId());
|
||||
vInv.push_back(inv);
|
||||
LogPrint(BCLog::NET, "SendMessages -- queued inv: %s index=%d peer=%d\n", islockInv.ToString(), vInv.size(), pto->GetId());
|
||||
vInv.push_back(islockInv);
|
||||
if (vInv.size() == MAX_INV_SZ) {
|
||||
LogPrint(BCLog::NET, "SendMessages -- pushing inv's: count=%d peer=%d\n", vInv.size(), pto->GetId());
|
||||
connman->PushMessage(pto, msgMaker.Make(NetMsgType::INV, vInv));
|
||||
|
Loading…
Reference in New Issue
Block a user