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:
parent
7b8392057c
commit
c7a8bbb772
|
@ -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);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue