diff options
author | stickies-v <stickies-v@protonmail.com> | 2024-01-22 16:01:25 +0000 |
---|---|---|
committer | stickies-v <stickies-v@protonmail.com> | 2024-05-07 00:22:30 +0100 |
commit | 78e52f663f3e3ac86260b913dad777fd7218f210 (patch) | |
tree | 03b50f76f58a8f0bd9c476e45e8a0d3afc93145a /src | |
parent | 1a875d4049574730d4a53a1b68bd29b80ad96d38 (diff) |
doc: rpc: fix submitpackage examples
Diffstat (limited to 'src')
-rw-r--r-- | src/rpc/mempool.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rpc/mempool.cpp b/src/rpc/mempool.cpp index 9fa3c32a8f..b04e7c6542 100644 --- a/src/rpc/mempool.cpp +++ b/src/rpc/mempool.cpp @@ -855,8 +855,8 @@ static RPCHelpMan submitpackage() }, }, RPCExamples{ - HelpExampleCli("testmempoolaccept", "[rawtx1, rawtx2]") + - HelpExampleCli("submitpackage", "[rawtx1, rawtx2]") + HelpExampleRpc("submitpackage", R"(["rawtx1", "rawtx2"])") + + HelpExampleCli("submitpackage", R"('["rawtx1", "rawtx2"]')") }, [&](const RPCHelpMan& self, const JSONRPCRequest& request) -> UniValue { |