fix(keys): updated for compatibility with newest kyber version
This commit is contained in:
parent
23471c155c
commit
46a9848409
|
@ -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(),
|
||||
|
|
Loading…
Reference in New Issue