mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-04-03 12:25:54 +02:00
Merge #19851: refactor: Extract ParseOpCode from ParseScript
c92387232frefactor: Extract ParseOpCode from ParseScript (João Barbosa) Pull request description: Seems more natural to have `mapOpNames` "hidden" in `ParseOpCode` than in `ParseScript`. A second lookup in `mapOpNames` is also removed. ACKs for top commit: laanwj: ACKc92387232ftheStack: re-ACKc92387232fTree-SHA512: d59d1964760622cf365479d44e3e676aa0bf46b60e77160140d967e012042df92121d3224c7551dc96eff5ff3294598cc6bade82adb3f60d28810e18e60e1257
This commit is contained in:
@@ -221,7 +221,7 @@
|
||||
{ "exec": "./bitcoin-tx",
|
||||
"args": ["-create", "outscript=0:123badscript"],
|
||||
"return_code": 1,
|
||||
"error_txt": "error: script parse error",
|
||||
"error_txt": "error: script parse error: unknown opcode",
|
||||
"description": "Create a new transaction with an invalid output script"
|
||||
},
|
||||
{ "exec": "./bitcoin-tx",
|
||||
|
||||
Reference in New Issue
Block a user