Merge #671: Fix importmasterblindingkey help

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
This commit is contained in:
Gregory Sanders 2019-07-01 10:11:46 -04:00
commit 51a89c80dd
No known key found for this signature in database
GPG key ID: F3F68E2D86A48FDB

View file

@ -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"},
},