Branch: refs/heads/master
  Home:   https://github.com/conformal/btcd
  Commit: 4b727d2035334a28ed22f0f5586fa16e53618cc0
      
https://github.com/conformal/btcd/commit/4b727d2035334a28ed22f0f5586fa16e53618cc0
  Author: Dave Collins <[email protected]>
  Date:   2015-01-07 (Wed, 07 Jan 2015)

  Changed paths:
    M rpcserver.go

  Log Message:
  -----------
  Ignore error in script disassembly for RPC results.

This commit modifies the creation of RPC results to ignore errors in
script disassembly since they already contain the error string inline and
the RPC results must still be generated regardless.

This was already done in the decodescript RPC, however the same thing was
not being done in the higher level verbose transaction results.  This
applies to both the createrawtransaction and decoderawtransaction RPCs.

Also, since this was the only thing that could error within those
functions, the error returns and caller checking of now non-existent
errors have been removed.

Fixes #210.


Reply via email to