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/rpc/blockchain.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/rpc/blockchain.cpp')
| -rw-r--r-- | src/rpc/blockchain.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpc/blockchain.cpp b/src/rpc/blockchain.cpp index e38636aa7..77eb4190a 100644 --- a/src/rpc/blockchain.cpp +++ b/src/rpc/blockchain.cpp @@ -875,7 +875,7 @@ UniValue gettxout(const JSONRPCRequest& request) " \"reqSigs\" : n, (numeric) Number of required signatures\n" " \"type\" : \"pubkeyhash\", (string) The type, eg pubkeyhash\n" " \"addresses\" : [ (array of string) array of bitcoin addresses\n" - " \"bitcoinaddress\" (string) bitcoin address\n" + " \"address\" (string) bitcoin address\n" " ,...\n" " ]\n" " },\n" |