From 5cc0133ae531d8926ed73593ecb844a0e2e87715 Mon Sep 17 00:00:00 2001 From: "David A. Harding" Date: Tue, 29 Apr 2014 14:34:41 -0400 Subject: [PATCH] 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. --- src/rpcrawtransaction.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/rpcrawtransaction.cpp b/src/rpcrawtransaction.cpp index 4b7dd617e07..6794285548d 100644 --- a/src/rpcrawtransaction.cpp +++ b/src/rpcrawtransaction.cpp @@ -400,12 +400,12 @@ 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"