diff --git a/crates/cdk/src/mint/mod.rs b/crates/cdk/src/mint/mod.rs index c58d0ed8..7fcbdc1e 100644 --- a/crates/cdk/src/mint/mod.rs +++ b/crates/cdk/src/mint/mod.rs @@ -186,7 +186,7 @@ impl Mint { /// Add current keyset to inactive keysets /// Generate new keyset pub async fn rotate_keyset( - &mut self, + &self, unit: CurrencyUnit, derivation_path: DerivationPath, max_order: u8, @@ -209,7 +209,7 @@ impl Mint { } pub async fn process_mint_request( - &mut self, + &self, mint_request: nut04::MintBolt11Request, ) -> Result { for blinded_message in &mint_request.outputs { @@ -299,7 +299,7 @@ impl Mint { } pub async fn process_swap_request( - &mut self, + &self, swap_request: SwapRequest, ) -> Result { for blinded_message in &swap_request.outputs { @@ -471,7 +471,7 @@ impl Mint { } pub async fn verify_melt_request( - &mut self, + &self, melt_request: &MeltBolt11Request, ) -> Result { let quote = self @@ -564,7 +564,7 @@ impl Mint { } pub async fn process_melt_request( - &mut self, + &self, melt_request: &MeltBolt11Request, preimage: &str, total_spent: Amount,