Explorar el Código

chore: clippy

thesimplekid hace 1 año
padre
commit
5299bf87c7
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      crates/cashu/src/nuts/nut00.rs

+ 2 - 2
crates/cashu/src/nuts/nut00.rs

@@ -224,8 +224,8 @@ pub mod wallet {
             let mut counter = counter;
 
             for amount in amount.split() {
-                let secret = Secret::from_seed(&mnemonic, keyset_id, counter);
-                let blinding_factor = SecretKey::from_seed(&mnemonic, keyset_id, counter);
+                let secret = Secret::from_seed(mnemonic, keyset_id, counter);
+                let blinding_factor = SecretKey::from_seed(mnemonic, keyset_id, counter);
 
                 let (blinded, r) = blind_message(secret.as_bytes(), Some(blinding_factor.into()))?;