Browse Source

Merge pull request #650 from benthecarman/rm-clone

fix: remove unnecessary clone
thesimplekid 3 tháng trước cách đây
mục cha
commit
a691df7916
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      crates/cdk/src/wallet/mint.rs

+ 1 - 1
crates/cdk/src/wallet/mint.rs

@@ -79,7 +79,7 @@ impl Wallet {
             mint_url,
             id: quote_res.quote,
             amount,
-            unit: unit.clone(),
+            unit,
             request: quote_res.request,
             state: quote_res.state,
             expiry: quote_res.expiry.unwrap_or(0),