mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-11-02 13:37:24 +00:00
Fix a minor bug in OP_PUSHDATA2 (not used). Resolves issue 80.
This commit is contained in:
@@ -245,6 +245,7 @@ public class Script {
|
|||||||
os.write(OP_PUSHDATA2);
|
os.write(OP_PUSHDATA2);
|
||||||
os.write(0xFF & (buf.length));
|
os.write(0xFF & (buf.length));
|
||||||
os.write(0xFF & (buf.length >> 8));
|
os.write(0xFF & (buf.length >> 8));
|
||||||
|
os.write(buf);
|
||||||
} else {
|
} else {
|
||||||
throw new RuntimeException("Unimplemented");
|
throw new RuntimeException("Unimplemented");
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user