From b23f1e050e9523811ff3c7e52121e320c77c7ea9 Mon Sep 17 00:00:00 2001 From: thesimplekid Date: Thu, 8 Jun 2023 00:59:39 -0400 Subject: [PATCH] fix: test --- integration_test/src/main.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/integration_test/src/main.rs b/integration_test/src/main.rs index bb850e67..19e8157e 100644 --- a/integration_test/src/main.rs +++ b/integration_test/src/main.rs @@ -81,7 +81,7 @@ async fn test_mint(wallet: &CashuWallet) -> Proofs { thread::sleep(Duration::from_secs(30)); wallet - .mint_token(Amount::from_sat(MINTAMOUNT), &mint_req.hash) + .mint(Amount::from_sat(MINTAMOUNT), &mint_req.hash) .await .unwrap() @@ -120,7 +120,7 @@ async fn test_check_spendable(client: &Client, token: &str) -> Proofs { let token_data = Token::from_str(token).unwrap(); let spendable = wallet - .check_proofs_spent(token_data.token[0].clone().proofs) + .check_proofs_spent(&token_data.token[0].clone().proofs) .await .unwrap(); @@ -158,7 +158,7 @@ async fn test_melt(wallet: &CashuWallet, invoice: Invoice, proofs: Proofs) { println!("{:?}", res); } -async fn test_get_mint_info(mint: &Client) { +async fn test_get_mint_info(_mint: &Client) { // let mint_info = mint.get_info().await.unwrap(); // println!("{:?}", mint_info);