Skip to content

Commit 814c6e2

Browse files
committed
doctest
1 parent 79c93ca commit 814c6e2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

fastcrypto/src/bulletproofs.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@
77
//! ```rust
88
//! # use fastcrypto::bulletproofs::*;
99
//! use rand::{thread_rng, RngCore};
10-
//! use fastcrypto::bulletproofs::Range::Bits16;
10+
//! # use fastcrypto::bulletproofs::Range::Bits16;
1111
//! # use fastcrypto::groups::ristretto255::RistrettoScalar;
1212
//! # use fastcrypto::groups::Scalar;
1313
//! let value = 300;
1414
//! let range = Bits16;
1515
//! let output =
1616
//! RangeProof::prove(value, &range, b"MY_DOMAIN", &mut thread_rng()).unwrap();
17-
//! assert!(output.proof.verify(&output.commitment, &output.blinding, &range, b"MY_DOMAIN").is_ok());
17+
//! assert!(output.proof.verify(&output.commitment, &range, b"MY_DOMAIN").is_ok());
1818
//! ```
1919
2020
use crate::error::FastCryptoError::{GeneralOpaqueError, InvalidInput, InvalidProof};

0 commit comments

Comments
 (0)