txscript: Remove unused parseScript func.
This commit is contained in:
parent
7533672993
commit
6e5fbf8ea8
1 changed files with 0 additions and 6 deletions
|
@ -202,12 +202,6 @@ func checkScriptTemplateParseable(script []byte, opcodes *[256]opcode) (*byte, e
|
||||||
return &firstOpcode, nil
|
return &firstOpcode, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// parseScript preparses the script in bytes into a list of parsedOpcodes while
|
|
||||||
// applying a number of sanity checks.
|
|
||||||
func parseScript(script []byte) ([]parsedOpcode, error) {
|
|
||||||
return parseScriptTemplate(script, &opcodeArray)
|
|
||||||
}
|
|
||||||
|
|
||||||
// unparseScript reversed the action of parseScript and returns the
|
// unparseScript reversed the action of parseScript and returns the
|
||||||
// parsedOpcodes as a list of bytes
|
// parsedOpcodes as a list of bytes
|
||||||
func unparseScript(pops []parsedOpcode) ([]byte, error) {
|
func unparseScript(pops []parsedOpcode) ([]byte, error) {
|
||||||
|
|
Loading…
Reference in a new issue