Skip to content

Commit d6ca9a7

Browse files
authored
Merge pull request #3105 from codablock/pr_backport_10854
Backport bitcoin#10854: Avoid using sizes on non-fixed-width types to derive protocol constants
2 parents 20d59e1 + f7a6790 commit d6ca9a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/wallet/wallet.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3826,7 +3826,7 @@ bool CWallet::CreateTransaction(const std::vector<CRecipient>& vecSend, CWalletT
38263826
vecTxDSInTmp.clear();
38273827
for (const auto& coin : setCoins) {
38283828
CTxIn txin = CTxIn(coin.outpoint,CScript(),
3829-
std::numeric_limits<unsigned int>::max()-1);
3829+
CTxIn::SEQUENCE_FINAL - 1);
38303830
vecTxDSInTmp.push_back(CTxDSIn(txin, coin.txout.scriptPubKey));
38313831
txNew.vin.push_back(txin);
38323832
}

0 commit comments

Comments
 (0)