Use the new recover_ecdsa in bench function

We recently deprecated `recover` in favour of `recover_ecdsa` but missed
one call site in benches.
This commit is contained in:
Tobin Harding 2022-01-14 13:19:36 +11:00
parent 7b8392057c
commit c7a8bbb772
1 changed files with 1 additions and 1 deletions

View File

@ -387,7 +387,7 @@ mod benches {
let sig = s.sign_ecdsa_recoverable(&msg, &sk); let sig = s.sign_ecdsa_recoverable(&msg, &sk);
bh.iter(|| { bh.iter(|| {
let res = s.recover(&msg, &sig).unwrap(); let res = s.recover_ecdsa(&msg, &sig).unwrap();
black_box(res); black_box(res);
}); });
} }