mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-03-16 08:22:46 +00:00
index, rpc, test: Misc formatting fixes
This commit is contained in:
parent
3a8b4e89f6
commit
a1074d852a
@ -1,4 +1,3 @@
|
||||
|
||||
// Copyright (c) The Bitcoin Core developers
|
||||
// Distributed under the MIT software license, see the accompanying
|
||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
||||
|
||||
@ -940,7 +940,7 @@ static RPCHelpMan gettxspendingprevout()
|
||||
if (output_params.empty()) {
|
||||
throw JSONRPCError(RPC_INVALID_PARAMETER, "Invalid parameter, outputs are missing");
|
||||
}
|
||||
const UniValue options{request.params[1].isNull() ? UniValue::VOBJ : request.params[1]};\
|
||||
const UniValue options{request.params[1].isNull() ? UniValue::VOBJ : request.params[1]};
|
||||
RPCTypeCheckObj(options,
|
||||
{
|
||||
{"mempool_only", UniValueType(UniValue::VBOOL)},
|
||||
|
||||
@ -111,7 +111,7 @@ class RpcMiscTest(BitcoinTestFramework):
|
||||
"txindex": values,
|
||||
"basic block filter index": values,
|
||||
"coinstatsindex": values,
|
||||
"txospenderindex": values
|
||||
"txospenderindex": values,
|
||||
}
|
||||
)
|
||||
# Specifying an index by name returns only the status of that index
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user