diff options
| author | David A. Harding <[email protected]> | 2014-04-29 14:34:41 -0400 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2014-05-08 11:49:02 +0200 |
| commit | e0c06d2c49a3af9f2ba4465749a5b0f1ebfaa417 (patch) | |
| tree | 730a333d75ee64a364c248305107c6ae23be47e6 /src/rpcrawtransaction.cpp | |
| parent | Merge pull request #4131 (diff) | |
| download | discoin-e0c06d2c49a3af9f2ba4465749a5b0f1ebfaa417.tar.xz discoin-e0c06d2c49a3af9f2ba4465749a5b0f1ebfaa417.zip | |
Typo Fix In decoderawtransaction Help: s/txid/hex/
Help text appears to have been copy/pasted from getrawtransaction,
so it erroneously asked for a txid where rawtransaction hex should appear.
Remove lines which were copy/pasted from getrawtransaction but which
aren't displayed by decoderawtransaction.
Rebased-By: Wladimir J. van der Laan <[email protected]>
Rebased-From: 5cc0133 80c521e
Github-Pull: #4106
Diffstat (limited to 'src/rpcrawtransaction.cpp')
| -rw-r--r-- | src/rpcrawtransaction.cpp | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/rpcrawtransaction.cpp b/src/rpcrawtransaction.cpp index 4b7dd617e..e86d6808e 100644 --- a/src/rpcrawtransaction.cpp +++ b/src/rpcrawtransaction.cpp @@ -400,12 +400,11 @@ Value decoderawtransaction(const Array& params, bool fHelp) "\nReturn a JSON object representing the serialized, hex-encoded transaction.\n" "\nArguments:\n" - "1. \"txid\" (string, required) The transaction hex string\n" + "1. \"hex\" (string, required) The transaction hex string\n" "\nResult:\n" "{\n" - " \"hex\" : \"data\", (string) The serialized, hex-encoded data for 'txid'\n" - " \"txid\" : \"id\", (string) The transaction id (same as provided)\n" + " \"txid\" : \"id\", (string) The transaction id\n" " \"version\" : n, (numeric) The version\n" " \"locktime\" : ttt, (numeric) The lock time\n" " \"vin\" : [ (array of json objects)\n" @@ -437,10 +436,6 @@ Value decoderawtransaction(const Array& params, bool fHelp) " }\n" " ,...\n" " ],\n" - " \"blockhash\" : \"hash\", (string) the block hash\n" - " \"confirmations\" : n, (numeric) The confirmations\n" - " \"time\" : ttt, (numeric) The transaction time in seconds since epoch (Jan 1 1970 GMT)\n" - " \"blocktime\" : ttt (numeric) The block time in seconds since epoch (Jan 1 1970 GMT)\n" "}\n" "\nExamples:\n" |