mirror of
https://github.com/Retropex/bitcoin.git
synced 2025-06-04 08:22:36 +02:00
rpc: Fix implicit-integer-sign-change in gettxout
This commit is contained in:
parent
fac2c796cb
commit
fa347a9066
@ -993,8 +993,7 @@ static RPCHelpMan gettxout()
|
|||||||
UniValue ret(UniValue::VOBJ);
|
UniValue ret(UniValue::VOBJ);
|
||||||
|
|
||||||
uint256 hash(ParseHashV(request.params[0], "txid"));
|
uint256 hash(ParseHashV(request.params[0], "txid"));
|
||||||
int n = request.params[1].get_int();
|
COutPoint out{hash, request.params[1].getInt<uint32_t>()};
|
||||||
COutPoint out(hash, n);
|
|
||||||
bool fMempool = true;
|
bool fMempool = true;
|
||||||
if (!request.params[2].isNull())
|
if (!request.params[2].isNull())
|
||||||
fMempool = request.params[2].get_bool();
|
fMempool = request.params[2].get_bool();
|
||||||
|
Loading…
Reference in New Issue
Block a user