Skip to content

Commit 100e7c5

Browse files
committed
chore: drop ISDLOCK_PROTO_VERSION checks
1 parent f2aafa6 commit 100e7c5

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

src/net_processing.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3525,9 +3525,9 @@ void PeerManagerImpl::PostProcessMessage(MessageProcessingResult&& result, NodeI
35253525
if (result.m_inv_filter) {
35263526
const auto& [inv, filter] = result.m_inv_filter.value();
35273527
if (std::holds_alternative<CTransactionRef>(filter)) {
3528-
RelayInvFiltered(inv, *std::get<CTransactionRef>(filter), ISDLOCK_PROTO_VERSION);
3528+
RelayInvFiltered(inv, *std::get<CTransactionRef>(filter));
35293529
} else if (std::holds_alternative<uint256>(filter)) {
3530-
RelayInvFiltered(inv, std::get<uint256>(filter), ISDLOCK_PROTO_VERSION);
3530+
RelayInvFiltered(inv, std::get<uint256>(filter));
35313531
} else {
35323532
assert(false);
35333533
}
@@ -6211,7 +6211,6 @@ bool PeerManagerImpl::SendMessages(CNode* pto)
62116211

62126212
const auto islock = m_llmq_ctx->isman->GetInstantSendLockByTxid(hash);
62136213
if (islock == nullptr) continue;
6214-
if (pto->nVersion < ISDLOCK_PROTO_VERSION) continue;
62156214
uint256 isLockHash{::SerializeHash(*islock)};
62166215
tx_relay->m_tx_inventory_known_filter.insert(isLockHash);
62176216
queueAndMaybePushInv(CInv(MSG_ISDLOCK, isLockHash));

src/version.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,6 @@ static const int MIN_PEER_PROTO_VERSION = 70221;
2222
//! minimum proto version of masternode to accept in DKGs
2323
static const int MIN_MASTERNODE_PROTO_VERSION = 70238;
2424

25-
//! introduction of instant send deterministic lock (ISDLOCK)
26-
static const int ISDLOCK_PROTO_VERSION = 70220;
27-
2825
//! GOVSCRIPT was activated in this version
2926
static const int GOVSCRIPT_PROTO_VERSION = 70221;
3027

0 commit comments

Comments
 (0)