From c7a8bbb772d0736b567e8634451cb21fe5de25e3 Mon Sep 17 00:00:00 2001 From: Tobin Harding Date: Fri, 14 Jan 2022 13:19:36 +1100 Subject: [PATCH] Use the new recover_ecdsa in bench function We recently deprecated `recover` in favour of `recover_ecdsa` but missed one call site in benches. --- src/ecdsa/recovery.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ecdsa/recovery.rs b/src/ecdsa/recovery.rs index f0ed266..7d532d2 100644 --- a/src/ecdsa/recovery.rs +++ b/src/ecdsa/recovery.rs @@ -387,7 +387,7 @@ mod benches { let sig = s.sign_ecdsa_recoverable(&msg, &sk); bh.iter(|| { - let res = s.recover(&msg, &sig).unwrap(); + let res = s.recover_ecdsa(&msg, &sig).unwrap(); black_box(res); }); }