txscript: Remove unused parseScript func.

This commit is contained in:
Dave Collins 2019-03-13 01:13:03 -05:00
parent d72f6d3003
commit cef80862d6
No known key found for this signature in database
GPG Key ID: B8904D9D9C93D1F2

View File

@ -238,12 +238,6 @@ func parseScriptTemplate(script []byte, opcodes *[256]opcode) ([]parsedOpcode, e
return retScript, 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
// parsedOpcodes as a list of bytes
func unparseScript(pops []parsedOpcode) ([]byte, error) {