doc: rpc: fix submitpackage examples

This commit is contained in:
stickies-v committed 2024-05-07 00:22:30 +01:00
1 parent 1a875d4049
commit 78e52f663f
1 file changed
+2 -2
+2 -2
View File
@@ -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
{