mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-02-07 06:44:16 +00:00
Remove unused multi-byte script support.
This commit is contained in:
parent
30db7cfd47
commit
dc943b6e6d
@ -176,11 +176,6 @@ public class Script {
|
||||
cursor = offset;
|
||||
while (cursor < offset + length) {
|
||||
int opcode = readByte();
|
||||
if (opcode >= 0xF0) {
|
||||
// Not a single byte opcode.
|
||||
opcode = (opcode << 8) | readByte();
|
||||
}
|
||||
|
||||
if (opcode > 0 && opcode < OP_PUSHDATA1) {
|
||||
// Read some bytes of data, where how many is the opcode value itself.
|
||||
chunks.add(new ScriptChunk(false, getData(opcode))); // opcode == len here.
|
||||
|
Loading…
Reference in New Issue
Block a user