mirror of
https://github.com/dashpay/dash.git
synced 2024-12-26 04:22:55 +01:00
Merge pull request #3105 from codablock/pr_backport_10854
Backport bitcoin#10854: Avoid using sizes on non-fixed-width types to derive protocol constants
This commit is contained in:
commit
d6ca9a78ef
@ -3826,7 +3826,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