Skip to content

Commit 78e52f6

Browse files
committed
doc: rpc: fix submitpackage examples
1 parent 1a875d4 commit 78e52f6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/rpc/mempool.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -855,8 +855,8 @@ static RPCHelpMan submitpackage()
855855
},
856856
},
857857
RPCExamples{
858-
HelpExampleCli("testmempoolaccept", "[rawtx1, rawtx2]") +
859-
HelpExampleCli("submitpackage", "[rawtx1, rawtx2]")
858+
HelpExampleRpc("submitpackage", R"(["rawtx1", "rawtx2"])") +
859+
HelpExampleCli("submitpackage", R"('["rawtx1", "rawtx2"]')")
860860
},
861861
[&](const RPCHelpMan& self, const JSONRPCRequest& request) -> UniValue
862862
{

0 commit comments

Comments
 (0)