fix(keys): updated for compatibility with newest kyber version

This commit is contained in:
Artemis 2023-06-28 13:36:09 -05:00
parent 23471c155c
commit 46a9848409
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ impl OwnedKeySet {
/// No errors should occur here, but if they do they probably aren't our fault
/// (take a look at the libraries we use - they're probably the culprit!)
pub fn generate(owner_name: String) -> Self {
let encryption_keys = kyber_keypair(&mut rand::thread_rng());
let encryption_keys = kyber_keypair(&mut rand::thread_rng()).unwrap();
let signage_keys = dilithium_keypair::generate();
let pubkey_pair = PubKeyPair::new(
encryption_keys.public.to_vec(),