txscript: Remove unused parseScript func.

This commit is contained in:
Dave Collins 2019-03-13 01:13:03 -05:00 committed by Olaoluwa Osuntokun
parent 7533672993
commit 6e5fbf8ea8
No known key found for this signature in database
GPG key ID: 3BBD59E99B280306

View file

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