From 07077d895da570f4be85e613f1ee067b44301cb6 Mon Sep 17 00:00:00 2001 From: arnaucube Date: Thu, 21 Apr 2022 08:05:38 +0200 Subject: [PATCH] Tmp fix disabling bytes 32 length --- blindsecp256k1.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/blindsecp256k1.go b/blindsecp256k1.go index 1d944df..abc6478 100644 --- a/blindsecp256k1.go +++ b/blindsecp256k1.go @@ -196,9 +196,9 @@ func NewRequestParameters() (*big.Int, *Point, error) { func checkBigIntSize(b *big.Int) error { // check b.Bytes()==32, as go returns big-endian representation of the // bigint, so if length is not 32 we have a smaller value than expected - if len(b.Bytes()) != 32 { //nolint:gomnd - return fmt.Errorf("invalid length, need 32 bytes") - } + // if len(b.Bytes()) != 32 { //nolint:gomnd + // return fmt.Errorf("invalid length, need 32 bytes") + // } return nil }