From 66d33037ec0f1c5d2aa66d0906c73efaa49309f3 Mon Sep 17 00:00:00 2001 From: Julian Meyer Date: Thu, 20 Sep 2018 20:24:03 -0700 Subject: [PATCH] btcec/signature: updated comment to reference constant instead of value --- btcec/signature.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/btcec/signature.go b/btcec/signature.go index 92929c7d..a4781b00 100644 --- a/btcec/signature.go +++ b/btcec/signature.go @@ -117,7 +117,7 @@ func parseSig(sigStr []byte, curve elliptic.Curve, der bool) (*Signature, error) index++ // siglen should be less than the entire message and greater than - // the minimal message of size 8. + // the minimal message size. if int(siglen+2) > len(sigStr) || int(siglen+2) < minSigLen { return nil, errors.New("malformed signature: bad length") }