From 286725168ae0309e427b1204a0724a4ba7cbe860 Mon Sep 17 00:00:00 2001 From: fanquake Date: Thu, 26 Sep 2024 09:42:51 +0100 Subject: [PATCH] doc: fix loadtxoutset example The current order is incorrect: ```bash ./build/src/bitcoin-cli loadtxoutset -rpcclienttimeout=0 utxo-840000.dat error code: -1 error message: loadtxoutset "path" ``` --- src/rpc/blockchain.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rpc/blockchain.cpp b/src/rpc/blockchain.cpp index 683a9dae882..c4fc06b34e7 100644 --- a/src/rpc/blockchain.cpp +++ b/src/rpc/blockchain.cpp @@ -3023,7 +3023,7 @@ static RPCHelpMan loadtxoutset() } }, RPCExamples{ - HelpExampleCli("loadtxoutset -rpcclienttimeout=0", "utxo.dat") + HelpExampleCli("-rpcclienttimeout=0 loadtxoutset", "utxo.dat") }, [&](const RPCHelpMan& self, const JSONRPCRequest& request) -> UniValue {