diff options
| author | Wladimir J. van der Laan <[email protected]> | 2016-11-21 14:39:58 +0100 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2017-01-05 11:30:20 +0100 |
| commit | 9adb4e1a59d54788e204895aaff5d6cbefd1b97a (patch) | |
| tree | 336dfa2c90016799bafad6215652dd17694421b0 /src/wallet/rpcdump.cpp | |
| parent | rpc: Named arguments for rawtransaction calls (diff) | |
| download | discoin-9adb4e1a59d54788e204895aaff5d6cbefd1b97a.tar.xz discoin-9adb4e1a59d54788e204895aaff5d6cbefd1b97a.zip | |
rpc: Argument name consistency
The meaning is clear from the context, and we're inconsistent here.
Also save typing when using named arguments.
- `bitcoinaddress` -> `address`
- `bitcoinprivkey` -> `privkey`
- `bitcoinpubkey` -> `pubkey`
Diffstat (limited to 'src/wallet/rpcdump.cpp')
| -rw-r--r-- | src/wallet/rpcdump.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/wallet/rpcdump.cpp b/src/wallet/rpcdump.cpp index 228064c98..a1912a78e 100644 --- a/src/wallet/rpcdump.cpp +++ b/src/wallet/rpcdump.cpp @@ -520,11 +520,11 @@ UniValue dumpprivkey(const JSONRPCRequest& request) if (request.fHelp || request.params.size() != 1) throw runtime_error( - "dumpprivkey \"bitcoinaddress\"\n" - "\nReveals the private key corresponding to 'bitcoinaddress'.\n" + "dumpprivkey \"address\"\n" + "\nReveals the private key corresponding to 'address'.\n" "Then the importprivkey can be used with this output\n" "\nArguments:\n" - "1. \"bitcoinaddress\" (string, required) The bitcoin address for the private key\n" + "1. \"address\" (string, required) The bitcoin address for the private key\n" "\nResult:\n" "\"key\" (string) The private key\n" "\nExamples:\n" |