diff --git a/crates/cashu-sdk/src/wallet.rs b/crates/cashu-sdk/src/wallet.rs index 6ebcf8b8c..5249b2bd1 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(), }) }