Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
AaronFeickert committed Sep 20, 2023
1 parent fb047d2 commit 6c0598f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion comms/dht/src/message_signature.rs
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ mod test {
let (mut mac, signer_k) = setup();
let signer_pk = CommsPublicKey::from_secret_key(&signer_k);
let msg = construct_message_signature_hash(&signer_pk, mac.signature.get_public_nonce(), MSG);
let msg_scalar = CommsSecretKey::from_canonical_bytes(&msg).unwrap();
let msg_scalar = CommsSecretKey::from_bytes_wide(&msg).unwrap();

// Some `a` key
let (bad_signer_k, bad_signer_pk) = CommsPublicKey::random_keypair(&mut OsRng);
Expand Down

0 comments on commit 6c0598f

Please sign in to comment.