Branch: refs/heads/master
  Home:   https://github.com/conformal/btcjson
  Commit: 1855c19562490e95a92ac74e90fe899ef30cd2ad
      
https://github.com/conformal/btcjson/commit/1855c19562490e95a92ac74e90fe899ef30cd2ad
  Author: Dave Collins <[email protected]>
  Date:   2013-12-26 (Thu, 26 Dec 2013)

  Changed paths:
    M jsonapi.go

  Log Message:
  -----------
  Allow getrawtransaction result to be string.

The getrawtransaction command has recently added a verbose flag which
alters the output.  The previous code made use of the "Hex" field of the
TxRawResult to return the information, but this is not consistent with the
original getrawtransaction RPC call which returns a string when verbose is
false and the TxRawResult JSON object when it is true.

This commit corrects that by allowing the result for getrawtransaction to
be either form.


Reply via email to