Skip to content

Commit

Permalink
Merge pull request zcash#5961 from ebfull/fix-wallet-doc
Browse files Browse the repository at this point in the history
Fix "transparent" example that should be "p2pkh"
  • Loading branch information
nuttycom authored May 16, 2022
2 parents 09b02be + bb9518b commit 46c41f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wallet/rpcwallet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3406,7 +3406,7 @@ UniValue z_getaddressforaccount(const UniValue& params, bool fHelp)
"\nExamples:\n"
+ HelpExampleCli("z_getaddressforaccount", "4")
+ HelpExampleCli("z_getaddressforaccount", "4 '[]' 1")
+ HelpExampleCli("z_getaddressforaccount", "4 '[\"transparent\",\"sapling\",\"orchard\"]' 1")
+ HelpExampleCli("z_getaddressforaccount", "4 '[\"p2pkh\",\"sapling\",\"orchard\"]' 1")
+ HelpExampleRpc("z_getaddressforaccount", "4")
);

Expand Down

0 comments on commit 46c41f5

Please sign in to comment.