-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information
Showing
1 changed file
with
15 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters