Browse Source

getnormalizedtxid now explains itself.

0.8
Warren Togami 11 years ago
parent
commit
09137b47e4
  1. 4
      src/rpcrawtransaction.cpp

4
src/rpcrawtransaction.cpp

@ -580,7 +580,9 @@ Value sendrawtransaction(const Array& params, bool fHelp)
Value getnormalizedtxid(const Array& params, bool fHelp) Value getnormalizedtxid(const Array& params, bool fHelp)
{ {
if (fHelp || params.size() != 1) if (fHelp || params.size() != 1)
throw runtime_error("blah"); throw runtime_error(
"getnormalizedtxid <hex string>\n"
"Return the normalized transaction ID.");
// parse hex string from parameter // parse hex string from parameter
vector<unsigned char> txData(ParseHexV(params[0], "parameter")); vector<unsigned char> txData(ParseHexV(params[0], "parameter"));

Loading…
Cancel
Save