Skip to content

Commit

Permalink
cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
ok300 committed Oct 14, 2024
1 parent 185353f commit 39fb2a9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions crates/cdk/src/nuts/nut02.rs
Original file line number Diff line number Diff line change
Expand Up @@ -197,8 +197,7 @@ impl From<&Keys> for Id {
5 - prefix it with a keyset ID version byte
*/

let mut keys: Vec<(&Amount, &super::PublicKey)> = map.iter()
.collect();
let mut keys: Vec<(&Amount, &super::PublicKey)> = map.iter().collect();

keys.sort_by_key(|(&amt, _v)| u64::from(amt));

Expand Down

0 comments on commit 39fb2a9

Please sign in to comment.