Skip to content

Conversation

@xhliu
Copy link
Contributor

@xhliu xhliu commented Sep 28, 2021

To reproduce the bug, use:

Unlocking script: OP_1
Locking script: OP_1 OP_RETURN

Enable Interp.SCRIPT_VERIFY_P2SH | Interp.SCRIPT_VERIFY_CLEANSTACK.

Seen: Currently script evaluation returns true, since stackCopy is stack with one element 1.

Expected: When OP_RETURN finishes, there are two elements on stack, both 1's. Should return false instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant