From 6c4734912556fe287470f2eaa6d171f01677fc54 Mon Sep 17 00:00:00 2001 From: Csaba Kiraly Date: Tue, 12 Apr 2022 15:43:02 +0200 Subject: [PATCH] fixup: bad return value for signature deserialize Signed-off-by: Csaba Kiraly --- dagger/storageproofs/backends/backend_constantine.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dagger/storageproofs/backends/backend_constantine.nim b/dagger/storageproofs/backends/backend_constantine.nim index 19453f32..d2486008 100644 --- a/dagger/storageproofs/backends/backend_constantine.nim +++ b/dagger/storageproofs/backends/backend_constantine.nim @@ -154,7 +154,7 @@ func ec_from_bytes*( raw: array[96, byte] or array[192, byte] ): bool {.inline.} = let ok = dst.deserialize_signature_compressed(raw) - doAssert ok == cttBLS_Success + ok == cttBLS_Success func ec_verify*( publicKey: PublicKey,