Fix a minor bug in OP_PUSHDATA2 (not used). Resolves issue 80.

This commit is contained in:
Mike Hearn 2011-09-15 15:02:13 +00:00
parent ea7741d3e0
commit bf7b8f133c

View File

@ -245,6 +245,7 @@ public class Script {
os.write(OP_PUSHDATA2);
os.write(0xFF & (buf.length));
os.write(0xFF & (buf.length >> 8));
os.write(buf);
} else {
throw new RuntimeException("Unimplemented");
}