|
|
@ -216,8 +216,10 @@ static void MutateTxRBFOptIn(CMutableTransaction& tx, const std::string& strInId |
|
|
|
int cnt = 0; |
|
|
|
int cnt = 0; |
|
|
|
for (CTxIn& txin : tx.vin) { |
|
|
|
for (CTxIn& txin : tx.vin) { |
|
|
|
if (strInIdx == "" || cnt == inIdx) { |
|
|
|
if (strInIdx == "" || cnt == inIdx) { |
|
|
|
|
|
|
|
if (txin.nSequence > MAX_BIP125_RBF_SEQUENCE) { |
|
|
|
txin.nSequence = MAX_BIP125_RBF_SEQUENCE; |
|
|
|
txin.nSequence = MAX_BIP125_RBF_SEQUENCE; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
++cnt; |
|
|
|
++cnt; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|