mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-17 13:07:54 +02:00
[Bitcoin-Tx] fix missing test fixtures, fix 32bit atoi issue
This commit is contained in:
parent
79004d4ae6
commit
86efa30ae3
2 changed files with 4 additions and 2 deletions
|
|
@ -206,7 +206,7 @@ static void MutateTxAddInput(CMutableTransaction& tx, const string& strInput)
|
|||
// extract the optional sequence number
|
||||
uint32_t nSequenceIn=std::numeric_limits<unsigned int>::max();
|
||||
if (vStrInputParts.size() > 2)
|
||||
nSequenceIn = atoi(vStrInputParts[2]);
|
||||
nSequenceIn = std::stoul(vStrInputParts[2]);
|
||||
|
||||
// append to transaction input list
|
||||
CTxIn txin(txid, vout, CScript(), nSequenceIn);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue