Skip to content

Commit

Permalink
remove clone on payment_qoute amount
Browse files Browse the repository at this point in the history
  • Loading branch information
mubarak23 committed Nov 21, 2024
1 parent f672c05 commit c57ef58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/cdk/src/mint/melt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ impl Mint {
// check amountless (amount in meltbolt11reqiest) is equal to payment_quote.amount
self.check_amount_less_invoice(
amount_less_amount,
payment_quote.amount.clone(),
payment_quote.amount,
unit.clone(),
PaymentMethod::Bolt11,
)?;
Expand Down

0 comments on commit c57ef58

Please sign in to comment.