From 78e52f663f3e3ac86260b913dad777fd7218f210 Mon Sep 17 00:00:00 2001 From: stickies-v Date: Mon, 22 Jan 2024 16:01:25 +0000 Subject: [PATCH] doc: rpc: fix submitpackage examples --- src/rpc/mempool.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/rpc/mempool.cpp b/src/rpc/mempool.cpp index 9fa3c32a8fcde..b04e7c654280a 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 {