3
0
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:
Matt Corallo 2012-07-17 21:43:40 +02:00 committed by Mike Hearn
parent 30db7cfd47
commit dc943b6e6d

View File

@ -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.