0
0
Fork 0
mirror of https://github.com/bitcoin/bitcoin.git synced 2025-02-08 10:31:50 -05:00

doc: rpc: fix submitpackage examples

This commit is contained in:
stickies-v 2024-01-22 16:01:25 +00:00
parent 1a875d4049
commit 78e52f663f
No known key found for this signature in database
GPG key ID: 5CB1CE6E5E66A757

View file

@ -855,8 +855,8 @@ static RPCHelpMan submitpackage()
}, },
}, },
RPCExamples{ RPCExamples{
HelpExampleCli("testmempoolaccept", "[rawtx1, rawtx2]") + HelpExampleRpc("submitpackage", R"(["rawtx1", "rawtx2"])") +
HelpExampleCli("submitpackage", "[rawtx1, rawtx2]") HelpExampleCli("submitpackage", R"('["rawtx1", "rawtx2"]')")
}, },
[&](const RPCHelpMan& self, const JSONRPCRequest& request) -> UniValue [&](const RPCHelpMan& self, const JSONRPCRequest& request) -> UniValue
{ {