Skip to content

OP_NOTIF without OP_IF marked invalid #22

Description

@cirosantilli

E.g.:

OP_1 OP_NOTIF OP_3 OP_ENDIF

is marked as invalid, but I think it is allowed, e.g. with btcdeb:

./btcdeb '[OP_1 OP_NOTIF OP_3 OP_ENDIF]'

seems valid.

WIth OP_IF it is valid in both this project and btcdeb:

OP_1 OP_IF OP_2 OP_NOTIF OP_3 OP_ENDIF

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions