From e8bc3654168ecdf68339f3f62cb2db74a9403ebe Mon Sep 17 00:00:00 2001 From: thesimplekid Date: Mon, 16 Dec 2024 13:14:03 -0500 Subject: [PATCH] fix: wallet doc tests --- crates/cdk/src/wallet/mint.rs | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/crates/cdk/src/wallet/mint.rs b/crates/cdk/src/wallet/mint.rs index 99875a4a..483c99c2 100644 --- a/crates/cdk/src/wallet/mint.rs +++ b/crates/cdk/src/wallet/mint.rs @@ -35,7 +35,7 @@ impl Wallet { /// let wallet = Wallet::new(mint_url, unit, Arc::new(localstore), &seed, None)?; /// let amount = Amount::from(100); /// - /// let quote = wallet.mint_quote(amount, None, None).await?; + /// let quote = wallet.mint_quote(amount, None).await?; /// Ok(()) /// } /// ``` @@ -159,12 +159,10 @@ impl Wallet { /// let wallet = Wallet::new(mint_url, unit, Arc::new(localstore), &seed, None).unwrap(); /// let amount = Amount::from(100); /// - /// let quote = wallet.mint_quote(amount, None, None).await?; + /// let quote = wallet.mint_quote(amount, None).await?; /// let quote_id = quote.id; /// // To be called after quote request is paid - /// let amount_minted = wallet - /// .mint("e_id, SplitTarget::default(), None, None) - /// .await?; + /// let amount_minted = wallet.mint("e_id, SplitTarget::default(), None).await?; /// /// Ok(()) /// }