mirror of
https://github.com/bitcoinj/bitcoinj.git
synced 2025-02-23 22:46:56 +01:00
Remove unused multi-byte script support.
This commit is contained in:
parent
30db7cfd47
commit
dc943b6e6d
1 changed files with 0 additions and 5 deletions
|
@ -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…
Add table
Reference in a new issue