rpc: fix/add missing RPCExamples for "Util" RPCs

fixes HelpExampleRpc for
    - createmultisig

adds missing HelpExampleRpc for
    - deriveaddresses
    - estimatesmartfee
    - getdescriptorinfo
This commit is contained in:
Sebastian Falbesoner
2020-03-26 19:27:32 +01:00
parent c0b1706964
commit ea98d9c2ef
2 changed files with 11 additions and 4 deletions

View File

@@ -1030,7 +1030,8 @@ static UniValue estimatesmartfee(const JSONRPCRequest& request)
"have been observed to make an estimate for any number of blocks."},
}},
RPCExamples{
HelpExampleCli("estimatesmartfee", "6")
HelpExampleCli("estimatesmartfee", "6") +
HelpExampleRpc("estimatesmartfee", "6")
},
}.Check(request);