Explorar el Código

chore: clippy

thesimplekid hace 1 año
padre
commit
bfdf0d9226
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      crates/cashu-sdk/src/mint/mod.rs

+ 1 - 1
crates/cashu-sdk/src/mint/mod.rs

@@ -83,7 +83,7 @@ impl Mint {
             );
 
             localstore
-                .add_active_keyset(CurrencyUnit::Sat, keyset.id.clone())
+                .add_active_keyset(CurrencyUnit::Sat, keyset.id)
                 .await?;
             localstore.add_keyset(keyset).await?;
         } else {