mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-01-31 18:51:12 +00:00
rpc: doc: remove redundant "descriptors" parameter in createwallet examples
This is the RPC example counterpart to commit 86de8c1668005304b2c630ca2ad4a8ca8e348e90 (PR #32544). Since the recent legacy wallet removal this parameter *must* be true, so providing it in the examples doesn't contain valuable information anymore and it seems best to remove them.
This commit is contained in:
parent
7a05f941bb
commit
e5cbea416b
@ -351,8 +351,8 @@ static RPCHelpMan createwallet()
|
||||
RPCExamples{
|
||||
HelpExampleCli("createwallet", "\"testwallet\"")
|
||||
+ HelpExampleRpc("createwallet", "\"testwallet\"")
|
||||
+ HelpExampleCliNamed("createwallet", {{"wallet_name", "descriptors"}, {"avoid_reuse", true}, {"descriptors", true}, {"load_on_startup", true}})
|
||||
+ HelpExampleRpcNamed("createwallet", {{"wallet_name", "descriptors"}, {"avoid_reuse", true}, {"descriptors", true}, {"load_on_startup", true}})
|
||||
+ HelpExampleCliNamed("createwallet", {{"wallet_name", "descriptors"}, {"avoid_reuse", true}, {"load_on_startup", true}})
|
||||
+ HelpExampleRpcNamed("createwallet", {{"wallet_name", "descriptors"}, {"avoid_reuse", true}, {"load_on_startup", true}})
|
||||
},
|
||||
[&](const RPCHelpMan& self, const JSONRPCRequest& request) -> UniValue
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user