Merge rust-bitcoin/rust-secp256k1#377: Use the new recover_ecdsa in bench function
c7a8bbb772
Use the new recover_ecdsa in bench function (Tobin Harding) Pull request description: We recently deprecated `recover` in favour of `recover_ecdsa` but missed one call site in benches. ACKs for top commit: apoelstra: ACKc7a8bbb772
Tree-SHA512: c57625ff50aea6c3985f7c7d52bf47ba6a48e93d3c60408edb6ab9ddc6e014171f8691dab954472b02ac745fcefa95c9206000560ef1ba64308b521b36563bfa
This commit is contained in:
commit
045896dae7
|
@ -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);
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue