@@ -951,7 +951,7 @@ std::unordered_set<uint256, StaticSaltedHasher> CInstantSendManager::ProcessPend
951
951
for (const auto & nodeId : batchVerifier.badSources ) {
952
952
// Let's not be too harsh, as the peer might simply be unlucky and might have sent us an old lock which
953
953
// does not validate anymore due to changed quorums
954
- m_peerman->Misbehaving (nodeId, 20 );
954
+ Assert ( m_peerman) ->Misbehaving (nodeId, 20 );
955
955
}
956
956
}
957
957
for (const auto & p : pend) {
@@ -1045,11 +1045,11 @@ void CInstantSendManager::ProcessInstantSendLock(NodeId from, const uint256& has
1045
1045
1046
1046
CInv inv (MSG_ISDLOCK, hash);
1047
1047
if (tx != nullptr ) {
1048
- m_peerman->RelayInvFiltered (inv, *tx, ISDLOCK_PROTO_VERSION);
1048
+ Assert ( m_peerman) ->RelayInvFiltered (inv, *tx, ISDLOCK_PROTO_VERSION);
1049
1049
} else {
1050
1050
// we don't have the TX yet, so we only filter based on txid. Later when that TX arrives, we will re-announce
1051
1051
// with the TX taken into account.
1052
- m_peerman->RelayInvFiltered (inv, islock->txid , ISDLOCK_PROTO_VERSION);
1052
+ Assert ( m_peerman) ->RelayInvFiltered (inv, islock->txid , ISDLOCK_PROTO_VERSION);
1053
1053
}
1054
1054
1055
1055
ResolveBlockConflicts (hash, *islock);
0 commit comments