No inbound delay for non-TX objects and masternodes

This commit is contained in:
Alexander Block 2020-04-07 13:26:34 +02:00
parent 26fcd3f0bf
commit 81503598b9

View File

@ -746,7 +746,7 @@ int64_t CalculateObjectGetDataTime(const CInv& inv, int64_t current_time, bool u
}
// 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;
}