Make `Builder::build` public

This commit is contained in:
Jack Grigg 2021-07-28 14:19:43 +01:00
parent 01fbd59683
commit 513f3cf8a6
1 changed files with 1 additions and 1 deletions

View File

@ -281,7 +281,7 @@ impl Builder {
/// ///
/// This API assumes that none of the notes being spent are controlled by (threshold) /// This API assumes that none of the notes being spent are controlled by (threshold)
/// multisignatures, and immediately constructs the bundle proof. /// multisignatures, and immediately constructs the bundle proof.
fn build<V: TryFrom<i64>>( pub fn build<V: TryFrom<i64>>(
mut self, mut self,
mut rng: impl RngCore, mut rng: impl RngCore,
) -> Result<Bundle<InProgress<Unproven, Unauthorized>, V>, Error> { ) -> Result<Bundle<InProgress<Unproven, Unauthorized>, V>, Error> {