Skip to content

Commit

Permalink
chore: clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
thesimplekid committed Dec 11, 2023
1 parent c81028d commit 17b6c17
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions crates/cashu-sdk/src/wallet.rs
Original file line number Diff line number Diff line change
Expand Up @@ -76,12 +76,8 @@ impl<C: Client> Wallet<C> {
.partition(|(_, &b)| b);

Ok(ProofsStatus {
spendable: spendable
.into_iter()
.map(|(s, _)| s.into())
.cloned()
.collect(),
spent: spent.into_iter().map(|(s, _)| s.into()).cloned().collect(),
spendable: spendable.into_iter().map(|(s, _)| s).cloned().collect(),
spent: spent.into_iter().map(|(s, _)| s).cloned().collect(),
})
}

Expand Down

0 comments on commit 17b6c17

Please sign in to comment.