refactor: drop unneeded MIN_PEER_PROTO_VERSION from RelayInv

This commit is contained in:
pasta 2024-11-28 10:58:34 -06:00
parent 94da0de6ef
commit da0b8e2ce1
No known key found for this signature in database
GPG Key ID: E2F3D7916E722D38

View File

@ -3439,7 +3439,7 @@ void PeerManagerImpl::PostProcessMessage(MessageProcessingResult&& result, NodeI
WITH_LOCK(cs_main, RelayTransaction(tx));
}
if (result.m_inventory) {
RelayInv(result.m_inventory.value(), MIN_PEER_PROTO_VERSION);
RelayInv(result.m_inventory.value());
}
}