From cb72d73ced671ef2f801137cb1ff6e52f4d0a6b4 Mon Sep 17 00:00:00 2001 From: Shroominic Date: Wed, 20 Aug 2025 10:25:33 -0300 Subject: [PATCH] fix --- routstr/wallet.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routstr/wallet.py b/routstr/wallet.py index 11784b9e..fbe68515 100644 --- a/routstr/wallet.py +++ b/routstr/wallet.py @@ -195,7 +195,7 @@ async def slow_filter_spend_proofs(proofs: list[Proof], wallet: Wallet) -> list[ for i in range(0, len(proofs), 1000): pb = proofs[i : i + 1000] proof_states = await wallet.check_proof_state(pb) - for proof, state in zip(proofs, proof_states.states): + for proof, state in zip(pb, proof_states.states): if str(state.state) != "spent": _proofs.append(proof) else: