chore: clippy

This commit is contained in:
thesimplekid
2025-01-30 00:07:46 +00:00
parent c455809812
commit 335bac7bca
2 changed files with 1 additions and 4 deletions

View File

@@ -17,7 +17,6 @@ use cdk::nuts::{
ProofState, Proofs, SecretKey, SpendingConditions, State, SwapRequest,
};
use cdk::subscription::{IndexableParams, Params};
use cdk::types::QuoteTTL;
use cdk::util::unix_time;
use cdk::Mint;
use tokio::sync::OnceCell;
@@ -50,8 +49,6 @@ async fn new_mint(fee: u64) -> Mint {
.expect("Could not set mint info");
let mnemonic = Mnemonic::generate(12).unwrap();
let quote_ttl = QuoteTTL::new(10000, 10000);
Mint::new(
&mnemonic.to_seed_normalized(""),
Arc::new(localstore),

View File

@@ -444,6 +444,6 @@ impl MintDatabase for MintMemoryDatabase {
async fn get_quote_ttl(&self) -> Result<QuoteTTL, Self::Err> {
let quote_ttl = self.quote_ttl.read().await;
Ok(quote_ttl.clone())
Ok(*quote_ttl)
}
}