Closed timmattison closed 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.
This needs a bunch of tests as well
Done in #21
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.