Commit 355f7f7
committed
script: add OP_TRUE and OP_FALSE aliases to OPCODES_BY_NAME
These aliases are already defined as module-level constants (OP_FALSE = OP_0,
OP_TRUE = OP_1) but were missing from the OPCODES_BY_NAME lookup dict,
making it impossible to parse script strings containing these common aliases.
Fixes #2251 parent 91e334d commit 355f7f7
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
365 | 365 | | |
366 | 366 | | |
367 | 367 | | |
| 368 | + | |
368 | 369 | | |
369 | 370 | | |
370 | 371 | | |
371 | 372 | | |
372 | 373 | | |
373 | 374 | | |
| 375 | + | |
374 | 376 | | |
375 | 377 | | |
376 | 378 | | |
| |||
0 commit comments