diff options
| author | John Newbery <[email protected]> | 2019-09-13 22:31:11 +0300 |
|---|---|---|
| committer | John Newbery <[email protected]> | 2019-09-13 22:33:46 +0300 |
| commit | 7dee8f48088c75ab0e51be60679505f8ce570919 (patch) | |
| tree | cc31c38c3d8aaf300645db7e84ddb877b5e89fcd /src/rpc/client.cpp | |
| parent | Merge #16854: Prevent UpdateTip log message from being broken up (diff) | |
| download | discoin-7dee8f48088c75ab0e51be60679505f8ce570919.tar.xz discoin-7dee8f48088c75ab0e51be60679505f8ce570919.zip | |
[wallet] Rename 'decode' argument in gettransaction method to 'verbose'
This makes the RPC method consistent with other RPC methods that have a
'verbose' option.
Change the name of the return object from 'decoded' to details.
Update help text.
Diffstat (limited to 'src/rpc/client.cpp')
| -rw-r--r-- | src/rpc/client.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpc/client.cpp b/src/rpc/client.cpp index 93fca5a6d..c2714f9c8 100644 --- a/src/rpc/client.cpp +++ b/src/rpc/client.cpp @@ -85,7 +85,7 @@ static const CRPCConvertParam vRPCConvertParams[] = { "getblockheader", 1, "verbose" }, { "getchaintxstats", 0, "nblocks" }, { "gettransaction", 1, "include_watchonly" }, - { "gettransaction", 2, "decode" }, + { "gettransaction", 2, "verbose" }, { "getrawtransaction", 1, "verbose" }, { "createrawtransaction", 0, "inputs" }, { "createrawtransaction", 1, "outputs" }, |