From 320c70060e1cc53f003db2cd2baf5477563cd5cd Mon Sep 17 00:00:00 2001 From: callebtc <93376500+callebtc@users.noreply.github.com> Date: Wed, 29 Jan 2025 13:32:57 -0600 Subject: [PATCH] wallet fix: load proofs before receiving (#698) --- cashu/wallet/helpers.py | 1 + 1 file changed, 1 insertion(+) diff --git a/cashu/wallet/helpers.py b/cashu/wallet/helpers.py index ce27ec7..5dedd6f 100644 --- a/cashu/wallet/helpers.py +++ b/cashu/wallet/helpers.py @@ -101,6 +101,7 @@ async def receive( wallet: Wallet, token: Token, ) -> Wallet: + await wallet.load_proofs() mint_wallet = await redeem_universal(wallet, token) # reload main wallet so the balance updates await wallet.load_proofs(reload=True)