From 5d1a539b02757cf74ab61120496cc9c4fce54aa3 Mon Sep 17 00:00:00 2001 From: callebtc <93376500+callebtc@users.noreply.github.com> Date: Wed, 11 Jan 2023 03:36:49 +0100 Subject: [PATCH] mypy --- cashu/wallet/wallet.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cashu/wallet/wallet.py b/cashu/wallet/wallet.py index b265d27..731164f 100644 --- a/cashu/wallet/wallet.py +++ b/cashu/wallet/wallet.py @@ -563,7 +563,7 @@ class Wallet(LedgerAPI): proofs = [p for p in proofs if not p.reserved] # select proofs based on amount to send sorted_proofs = sorted(proofs, key=lambda p: p.amount) - send_proofs = [] + send_proofs: List[Proof] = [] while sum_proofs(send_proofs) < amount_to_send: send_proofs.append(sorted_proofs[len(send_proofs)]) return send_proofs