Browse Source

Fix clippy issues in a KeyProvisioner

develop
Silvestr Predko 2 years ago
parent
commit
a839fbd9c9
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      web-client/src/lib.rs

+ 1
- 1
web-client/src/lib.rs View File

@@ -257,7 +257,7 @@ impl KeyProvisioner {
257 257
             let keys: Vec<(PublicKey, String)> = participants_keys
258 258
                 .into_iter()
259 259
                 .map(|(pk, participant_id)| {
260
-                    base64::decode(&pk)
260
+                    base64::decode(pk)
261 261
                         .map(|it| (it, participant_id))
262 262
                         .map_err(|err| ApiError::new(ErrorType::Other, err.to_string()))
263 263
                         .and_then(|(pk_bytes, participant_id)| {

Loading…
Cancel
Save