mirror of
https://github.com/kaspanet/kaspad.git
synced 2025-06-07 22:56:41 +00:00
Remove accidentally commited printf.
This commit is contained in:
parent
316faf034c
commit
86d150bbb3
@ -44,7 +44,6 @@ func ParseSignature(sigStr []byte, curve elliptic.Curve) (*Signature, error) {
|
|||||||
siglen := sigStr[index]
|
siglen := sigStr[index]
|
||||||
index++
|
index++
|
||||||
if int(siglen+2) != len(sigStr) {
|
if int(siglen+2) != len(sigStr) {
|
||||||
fmt.Printf("siglen: %v, len: %v\n", siglen, len(sigStr))
|
|
||||||
return nil, errors.New("malformed signature: bad length")
|
return nil, errors.New("malformed signature: bad length")
|
||||||
}
|
}
|
||||||
// trim the slice we're working on so we only look at what matters.
|
// trim the slice we're working on so we only look at what matters.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user