Skip to content

Commit 74ddd30

Browse files
Update packages/crypto/src/secp256k1.rs
Co-authored-by: Mauro Lacy <maurolacy@users.noreply.github.com>
1 parent 5ecada9 commit 74ddd30

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/crypto/src/secp256k1.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@ mod tests {
380380
let message_hash = Sha256::digest(message);
381381
assert_eq!(hash.as_slice(), message_hash.as_slice());
382382

383-
// Since the recovery param is mossing in the test vectors, we try both 0 and 1
383+
// Since the recovery param is missing in the test vectors, we try both 0 and 1
384384
let try0 = secp256k1_recover_pubkey(&message_hash, &signature, 0);
385385
let try1 = secp256k1_recover_pubkey(&message_hash, &signature, 1);
386386
match (try0, try1) {

0 commit comments

Comments
 (0)