Skip to content

Commit

Permalink
doc: rpc: fix submitpackage examples
Browse files Browse the repository at this point in the history
  • Loading branch information
stickies-v committed May 6, 2024
1 parent 1a875d4 commit 78e52f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/rpc/mempool.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down

0 comments on commit 78e52f6

Please sign in to comment.