Skip to content

Commit 59fd2d8

Browse files
Update packages/crypto/tests/wycheproof_secp256k1.rs
Co-authored-by: Mauro Lacy <maurolacy@users.noreply.github.com>
1 parent 1198a47 commit 59fd2d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/crypto/tests/wycheproof_secp256k1.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ fn ecdsa_secp256k1_sha3_512() {
277277
}
278278

279279
fn test_recover_pubkey(message_hash: &[u8], signature: &[u8], public_key: &[u8], params: [u8; 2]) {
280-
// Since the recovery param is missing in the test vectors, we try both 0 and 1
280+
// Since the recovery param is missing in the test vectors, we try both
281281
let recovered0 = secp256k1_recover_pubkey(message_hash, signature, params[0]).unwrap();
282282
let recovered1 = secp256k1_recover_pubkey(message_hash, signature, params[1]).unwrap();
283283
// Got two different pubkeys. Without the recovery param, we don't know which one is the right one.

0 commit comments

Comments
 (0)