mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 03:52:49 +01:00
instantsend: create islock/isdlock based on the quorum rotation activation status (#4790)
This commit is contained in:
parent
6df95f689a
commit
11a0fd7773
@ -694,7 +694,9 @@ void CInstantSendManager::TrySignInstantSendLock(const CTransaction& tx)
|
||||
LogPrint(BCLog::INSTANTSEND, "CInstantSendManager::%s -- txid=%s: got all recovered sigs, creating CInstantSendLock\n", __func__,
|
||||
tx.GetHash().ToString());
|
||||
|
||||
CInstantSendLock islock(CInstantSendLock::isdlock_version);
|
||||
CInstantSendLock islock(llmqType == Params().GetConsensus().llmqTypeDIP0024InstantSend ?
|
||||
CInstantSendLock::isdlock_version:
|
||||
CInstantSendLock::islock_version);
|
||||
islock.txid = tx.GetHash();
|
||||
for (auto& in : tx.vin) {
|
||||
islock.inputs.emplace_back(in.prevout);
|
||||
|
Loading…
Reference in New Issue
Block a user