Skip to content

Commit e5cbea4

Browse files
committed
rpc: doc: remove redundant "descriptors" parameter in createwallet examples
This is the RPC example counterpart to commit 86de8c1 (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.
1 parent 7a05f94 commit e5cbea4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/wallet/rpc/wallet.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -351,8 +351,8 @@ static RPCHelpMan createwallet()
351351
RPCExamples{
352352
HelpExampleCli("createwallet", "\"testwallet\"")
353353
+ HelpExampleRpc("createwallet", "\"testwallet\"")
354-
+ HelpExampleCliNamed("createwallet", {{"wallet_name", "descriptors"}, {"avoid_reuse", true}, {"descriptors", true}, {"load_on_startup", true}})
355-
+ HelpExampleRpcNamed("createwallet", {{"wallet_name", "descriptors"}, {"avoid_reuse", true}, {"descriptors", true}, {"load_on_startup", true}})
354+
+ HelpExampleCliNamed("createwallet", {{"wallet_name", "descriptors"}, {"avoid_reuse", true}, {"load_on_startup", true}})
355+
+ HelpExampleRpcNamed("createwallet", {{"wallet_name", "descriptors"}, {"avoid_reuse", true}, {"load_on_startup", true}})
356356
},
357357
[&](const RPCHelpMan& self, const JSONRPCRequest& request) -> UniValue
358358
{

0 commit comments

Comments
 (0)