Merge #10854: Avoid using sizes on non-fixed-width types to derive protocol constants.
095b917 Avoid using sizes on non-fixed-width types to derive protocol constants. (Gregory Maxwell) Pull request description: Thanks to awemany for pointing this out. This replaces #10172 which appears to be abandoned, but uses the constants as requested on that PR. Tree-SHA512: 032c0d75b3aaf807a7d0c7fb8ff5515acc45ad58bd00fe81413f900fe02bad900534a970403b9bb568e132c9eddea6043e958daf625e8acc84375bd41ee2e2ef
This commit is contained in:
parent
1c74b668b6
commit
f7a6790623
@ -3825,7 +3825,7 @@ bool CWallet::CreateTransaction(const std::vector<CRecipient>& vecSend, CWalletT
|
||||
vecTxDSInTmp.clear();
|
||||
for (const auto& coin : setCoins) {
|
||||
CTxIn txin = CTxIn(coin.outpoint,CScript(),
|
||||
std::numeric_limits<unsigned int>::max()-1);
|
||||
CTxIn::SEQUENCE_FINAL - 1);
|
||||
vecTxDSInTmp.push_back(CTxDSIn(txin, coin.txout.scriptPubKey));
|
||||
txNew.vin.push_back(txin);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user