Skip to content

Conversation

limonadev
Copy link

According to https://en.bitcoin.it/wiki/Script#Stack the OP_2ROT operation should move the 5th and 6th last elements to the top of the stack, not duplicate them.

Fixes #139.

According to https://en.bitcoin.it/wiki/Script#Stack the OP_2ROT operation should move the 5th and 6th last elements to the top of the stack, not duplicate them.
To update the stack instead of losing its reference.
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.

op_2rot not implemented properly in op.py
1 participant