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

Merge bitcoin/bitcoin#30973: doc: fix loadtxoutset example

286725168a doc: fix loadtxoutset example (fanquake)

Pull request description:

  The current order is incorrect:
  ```bash
  ./build/src/bitcoin-cli loadtxoutset -rpcclienttimeout=0 utxo-840000.dat
  error code: -1
  error message:
  loadtxoutset "path"
  ```

ACKs for top commit:
  maflcko:
    review ACK 286725168a
  theStack:
    ACK 286725168a
  BrandonOdiwuor:
    ACK 286725168a

Tree-SHA512: cc58b94ccdbf5b3925af1e9cbebbe5f1ed9d0ad1bad4c0d1acd2482b39edebb43a811576d3fb0dca66d2a98e13a8ffd7c9754fda62121beb674dee115f984346
This commit is contained in:
merge-script 2024-09-26 11:26:52 +01:00
commit e13da501db
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
{ {