programmingbitcoin
programmingbitcoin copied to clipboard
Fixed op_2rot implementation
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.