Skip to content

Commit

Permalink
we need alloc feature for Vec
Browse files Browse the repository at this point in the history
  • Loading branch information
nickfarrow committed Jan 27, 2023
1 parent 30db31b commit 82df48a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions schnorr_fun/src/blind.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
//!
//! # Synopsis
//! ```
//! use schnorr_fun::{blind, Blinder, Message, Schnorr, nonce};
//! use schnorr_fun::{blind, Message, Schnorr, nonce};
//! use secp256kfun::{g, marker::Public, Scalar, G, derive_nonce, nonce::Deterministic};
//! use rand::rngs::ThreadRng;
//! use sha2::Sha256;
Expand Down Expand Up @@ -70,7 +70,7 @@
//! let blind_sessions: Vec<_> = pub_nonces
//! .iter()
//! .map(|pub_nonce| {
//! Blinder::blind(
//! blind::Blinder::blind(
//! *pub_nonce,
//! public_key,
//! message,
Expand Down
2 changes: 1 addition & 1 deletion schnorr_fun/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ pub mod binonce;
#[cfg(feature = "alloc")]
pub mod musig;

#[cfg(feature = "alloc")]
pub mod blind;
#[cfg(feature = "alloc")]
pub mod frost;
pub use blind::*;

mod signature;
pub use signature::Signature;
Expand Down

0 comments on commit 82df48a

Please sign in to comment.