mirror of
https://github.com/dashpay/dash.git
synced 2024-12-27 04:52:59 +01:00
No inbound delay for non-TX objects and masternodes
This commit is contained in:
parent
26fcd3f0bf
commit
81503598b9
@ -746,7 +746,7 @@ int64_t CalculateObjectGetDataTime(const CInv& inv, int64_t current_time, bool u
|
|||||||
}
|
}
|
||||||
|
|
||||||
// We delay processing announcements from inbound peers
|
// We delay processing announcements from inbound peers
|
||||||
if (use_inbound_delay) process_time += INBOUND_PEER_TX_DELAY;
|
if (inv.type == MSG_TX && !fMasternodeMode && use_inbound_delay) process_time += INBOUND_PEER_TX_DELAY;
|
||||||
|
|
||||||
return process_time;
|
return process_time;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user