@@ -377,7 +377,7 @@ bool CInstantSendManager::ProcessTx(const CTransaction& tx, const Consensus::Par
377377 return true ;
378378 }
379379
380- auto llmqType = params.llmqForInstantSend ;
380+ auto llmqType = params.llmqTypeInstantSend ;
381381 if (llmqType == Consensus::LLMQ_NONE) {
382382 return true ;
383383 }
@@ -534,7 +534,7 @@ void CInstantSendManager::HandleNewRecoveredSig(const CRecoveredSig& recoveredSi
534534 return ;
535535 }
536536
537- auto llmqType = Params ().GetConsensus ().llmqForInstantSend ;
537+ auto llmqType = Params ().GetConsensus ().llmqTypeInstantSend ;
538538 if (llmqType == Consensus::LLMQ_NONE) {
539539 return ;
540540 }
@@ -560,7 +560,7 @@ void CInstantSendManager::HandleNewRecoveredSig(const CRecoveredSig& recoveredSi
560560
561561void CInstantSendManager::HandleNewInputLockRecoveredSig (const CRecoveredSig& recoveredSig, const uint256& txid)
562562{
563- auto llmqType = Params ().GetConsensus ().llmqForInstantSend ;
563+ auto llmqType = Params ().GetConsensus ().llmqTypeInstantSend ;
564564
565565 CTransactionRef tx;
566566 uint256 hashBlock;
@@ -584,7 +584,7 @@ void CInstantSendManager::HandleNewInputLockRecoveredSig(const CRecoveredSig& re
584584
585585void CInstantSendManager::TrySignInstantSendLock (const CTransaction& tx)
586586{
587- auto llmqType = Params ().GetConsensus ().llmqForInstantSend ;
587+ auto llmqType = Params ().GetConsensus ().llmqTypeInstantSend ;
588588
589589 for (auto & in : tx.vin ) {
590590 auto id = ::SerializeHash (std::make_pair (INPUTLOCK_REQUESTID_PREFIX, in.prevout ));
@@ -729,7 +729,7 @@ bool CInstantSendManager::ProcessPendingInstantSendLocks()
729729 tipHeight = chainActive.Height ();
730730 }
731731
732- auto llmqType = Params ().GetConsensus ().llmqForInstantSend ;
732+ auto llmqType = Params ().GetConsensus ().llmqTypeInstantSend ;
733733
734734 // Every time a new quorum enters the active set, an older one is removed. This means that between two blocks, the
735735 // active set can be different, leading to different selection of the signing quorum. When we detect such rotation
@@ -765,7 +765,7 @@ bool CInstantSendManager::ProcessPendingInstantSendLocks()
765765
766766std::unordered_set<uint256> CInstantSendManager::ProcessPendingInstantSendLocks (int signHeight, const std::unordered_map<uint256, std::pair<NodeId, CInstantSendLock>>& pend, bool ban)
767767{
768- auto llmqType = Params ().GetConsensus ().llmqForInstantSend ;
768+ auto llmqType = Params ().GetConsensus ().llmqTypeInstantSend ;
769769
770770 CBLSBatchVerifier<NodeId, uint256> batchVerifier (false , true , 8 );
771771 std::unordered_map<uint256, std::pair<CQuorumCPtr, CRecoveredSig>> recSigs;
@@ -1144,11 +1144,11 @@ void CInstantSendManager::HandleFullyConfirmedBlock(const CBlockIndex* pindex)
11441144
11451145 // no need to keep recovered sigs for fully confirmed IS locks, as there is no chance for conflicts
11461146 // from now on. All inputs are spent now and can't be spend in any other TX.
1147- quorumSigningManager->RemoveRecoveredSig (consensusParams.llmqForInstantSend , inputRequestId);
1147+ quorumSigningManager->RemoveRecoveredSig (consensusParams.llmqTypeInstantSend , inputRequestId);
11481148 }
11491149
11501150 // same as in the loop
1151- quorumSigningManager->RemoveRecoveredSig (consensusParams.llmqForInstantSend , islock->GetRequestId ());
1151+ quorumSigningManager->RemoveRecoveredSig (consensusParams.llmqTypeInstantSend , islock->GetRequestId ());
11521152 }
11531153
11541154 // Find all previously unlocked TXs that got locked by this fully confirmed (ChainLock) block and remove them
0 commit comments