From 17b6c17053dfb0c223fe5a892edc930d2d66327e Mon Sep 17 00:00:00 2001 From: thesimplekid Date: Mon, 11 Dec 2023 21:03:42 +0000 Subject: [PATCH] chore: clippy --- crates/cashu-sdk/src/wallet.rs | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/crates/cashu-sdk/src/wallet.rs b/crates/cashu-sdk/src/wallet.rs index 6ebcf8b8..5249b2bd 100644 --- a/crates/cashu-sdk/src/wallet.rs +++ b/crates/cashu-sdk/src/wallet.rs @@ -76,12 +76,8 @@ impl Wallet { .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(), }) }