Skip to content

Commit

Permalink
Merge #671: Fix importmasterblindingkey help
Browse files Browse the repository at this point in the history
05c4c64 Fix importmasterblindingkey help (Leonardo Comandini)

Pull request description:

  Before:

      $ elements-cli help | grep importblindingkey
      importblindingkey "address" "hexkey"
      importblindingkey "hexkey"
      $ elements-cli help | grep importmasterblindingkey

  After:

      $ elements-cli help | grep importblindingkey
      importblindingkey "address" "hexkey"
      $ elements-cli help | grep importmasterblindingkey
      importmasterblindingkey "hexkey"

Tree-SHA512: c5e691ed28c46143d0ea26f12cd691ca1ba3ee553f6e54241c46c9833653cce563fa51ca823209da2db9852e1f9f248d5c2b8fa42e4959504f63f50e27d36974
  • Loading branch information
instagibbs committed Jul 1, 2019
2 parents 7b302eb + 05c4c64 commit 51a89c8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/wallet/rpcdump.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1679,9 +1679,9 @@ UniValue importmasterblindingkey(const JSONRPCRequest& request)

if (request.fHelp || request.params.size() != 1)
throw std::runtime_error(
RPCHelpMan{"importblindingkey",
"\nImports a master private blinding key in hex for a CT address."
"Note: wallets can only have one master blinding key at a time. Funds could be permanently lost if user doesn't know what they are doing. Recommended use is only for wallet recovery using this in conjunction with `sethdseed`.\n",
RPCHelpMan{"importmasterblindingkey",
"\nImports a master private blinding key in hex for the wallet."
"\nNote: wallets can only have one master blinding key at a time. Funds could be permanently lost if user doesn't know what they are doing. Recommended use is only for wallet recovery using this in conjunction with `sethdseed`.\n",
{
{"hexkey", RPCArg::Type::STR_HEX, RPCArg::Optional::NO, "The blinding key in hex"},
},
Expand Down

0 comments on commit 51a89c8

Please sign in to comment.