This commit is contained in:
Dave Collins 2014-02-04 11:22:51 -06:00
parent e8881196d6
commit 13ba8607f7

View file

@ -1809,12 +1809,12 @@ func opcodeCheckMultiSig(op *parsedOpcode, s *Script) error {
var sig *btcec.Signature
// skip off the last byte for hashtype
if s.der {
sig, err =
sig, err =
btcec.ParseDERSignature(
sigStrings[i][:len(sigStrings[i])-1],
btcec.S256())
} else {
sig, err =
sig, err =
btcec.ParseSignature(
sigStrings[i][:len(sigStrings[i])-1],
btcec.S256())