mirror of
https://github.com/FlipsideCrypto/dcrd.git
synced 2026-02-06 10:56:47 +00:00
Merge btcd commit '644570487f379e9856ae4025181ecc6293d86711'
Merges in btcd commit 644570487f.
This commit is contained in:
commit
2889b79b0e
@ -126,8 +126,8 @@ func parseScriptTemplate(script []byte, opcodes *[256]opcode) ([]parsedOpcode,
|
||||
retScript := make([]parsedOpcode, 0, len(script))
|
||||
for i := 0; i < len(script); {
|
||||
instr := script[i]
|
||||
op := opcodes[instr]
|
||||
pop := parsedOpcode{opcode: &op}
|
||||
op := &opcodes[instr]
|
||||
pop := parsedOpcode{opcode: op}
|
||||
|
||||
// Parse data out of instruction.
|
||||
switch {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user