Skip to content

Fixed op_2rot implementation#208

Open
limonadev wants to merge 2 commits intojimmysong:masterfrom
limonadev:patch-1
Open

Fixed op_2rot implementation#208
limonadev wants to merge 2 commits intojimmysong:masterfrom
limonadev:patch-1

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