0
0
Fork 0
mirror of https://github.com/bitcoin/bitcoin.git synced 2025-03-04 13:55:23 -05:00

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"
```
This commit is contained in:
fanquake 2024-09-26 09:42:51 +01:00
parent 65f6e7078b
commit 286725168a
No known key found for this signature in database
GPG key ID: 2EEB9F5CC09526C1

View file

@ -3023,7 +3023,7 @@ static RPCHelpMan loadtxoutset()
} }
}, },
RPCExamples{ RPCExamples{
HelpExampleCli("loadtxoutset -rpcclienttimeout=0", "utxo.dat") HelpExampleCli("-rpcclienttimeout=0 loadtxoutset", "utxo.dat")
}, },
[&](const RPCHelpMan& self, const JSONRPCRequest& request) -> UniValue [&](const RPCHelpMan& self, const JSONRPCRequest& request) -> UniValue
{ {