timmattison / brick-rope

GNU General Public License v2.0
0 stars 1 forks source link

Fix OP_PUSHDATAx opcodes #19

Closed timmattison closed 10 years ago

timmattison commented 10 years ago

The OP_PUSHDATAx opcodes (where x == 1, 2, or 4) are currently implemented so that they push 1, 2, and 4 bytes of data respectively. They should take the next 1, 2, or 4 bytes and use that value to determine how many bytes to push onto the stack.

timmattison commented 10 years ago

This needs a bunch of tests as well

timmattison commented 10 years ago

Done in #21