Skip to content

Commit

Permalink
fix sync
Browse files Browse the repository at this point in the history
  • Loading branch information
SWvheerden committed Jan 27, 2025
1 parent ef140bc commit 5d6a7c4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/ristretto/ristretto_keys.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
use alloc::{string::ToString, vec::Vec};
use core::{
borrow::Borrow,
cell::OnceCell,
cmp::Ordering,
fmt,
hash::{Hash, Hasher},
ops::{Add, Mul, Sub},
};
use std::sync::OnceLock;

use blake2::Blake2b;
use curve25519_dalek::{
Expand Down Expand Up @@ -281,7 +281,7 @@ impl Borrow<Scalar> for &RistrettoSecretKey {
#[derive(Clone)]
pub struct RistrettoPublicKey {
point: RistrettoPoint,
compressed: OnceCell<CompressedRistretto>,
compressed: OnceLock<CompressedRistretto>,
}

#[cfg(feature = "borsh")]
Expand All @@ -306,7 +306,7 @@ impl RistrettoPublicKey {
pub(super) fn new_from_pk(pk: RistrettoPoint) -> Self {
Self {
point: pk,
compressed: OnceCell::new(),
compressed: OnceLock::new(),
}
}

Expand Down

0 comments on commit 5d6a7c4

Please sign in to comment.