From 7476cad5941e2fe039f1532ab0fa52a6313624a5 Mon Sep 17 00:00:00 2001 From: Bartosz Rybarski Date: Thu, 2 Feb 2023 18:32:51 +0100 Subject: [PATCH] Changed type of Verify in ffi/ecdsa.cc from bool to int --- src/starkware/crypto/ffi/ecdsa.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/starkware/crypto/ffi/ecdsa.cc b/src/starkware/crypto/ffi/ecdsa.cc index ce722c8..abf9f83 100644 --- a/src/starkware/crypto/ffi/ecdsa.cc +++ b/src/starkware/crypto/ffi/ecdsa.cc @@ -33,7 +33,7 @@ extern "C" int GetPublicKey( return 0; } -extern "C" bool Verify( +extern "C" int Verify( const gsl::byte stark_key[kElementSize], const gsl::byte msg_hash[kElementSize], const gsl::byte r_bytes[kElementSize], const gsl::byte w_bytes[kElementSize]) { try {