index, rpc, test: Misc formatting fixes

This commit is contained in:
Fabian Jahr 2026-02-20 11:52:33 +01:00
parent 3a8b4e89f6
commit a1074d852a
No known key found for this signature in database
GPG Key ID: F13D1E9D890798CD
3 changed files with 2 additions and 3 deletions

View File

@ -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.

View File

@ -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)},

View File

@ -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