From a1074d852a7a46b746fb4ed90d94cb4cc346f9b3 Mon Sep 17 00:00:00 2001 From: Fabian Jahr Date: Fri, 20 Feb 2026 11:52:33 +0100 Subject: [PATCH] index, rpc, test: Misc formatting fixes --- src/index/txospenderindex.h | 1 - src/rpc/mempool.cpp | 2 +- test/functional/rpc_misc.py | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/index/txospenderindex.h b/src/index/txospenderindex.h index dce1cec385d..42e25bcd7fd 100644 --- a/src/index/txospenderindex.h +++ b/src/index/txospenderindex.h @@ -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. diff --git a/src/rpc/mempool.cpp b/src/rpc/mempool.cpp index 34abc3c08e4..c480b5af47f 100644 --- a/src/rpc/mempool.cpp +++ b/src/rpc/mempool.cpp @@ -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)}, diff --git a/test/functional/rpc_misc.py b/test/functional/rpc_misc.py index 3acf7440bd1..86f22f00399 100755 --- a/test/functional/rpc_misc.py +++ b/test/functional/rpc_misc.py @@ -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