From c61971b268bba3bc3bf711e08f40c599b9a1f1d0 Mon Sep 17 00:00:00 2001 From: callebtc <93376500+callebtc@users.noreply.github.com> Date: Sun, 18 Jun 2023 15:12:32 +0200 Subject: [PATCH] balance: await wallet.load_proofs() (#254) --- cashu/wallet/cli/cli.py | 1 + 1 file changed, 1 insertion(+) diff --git a/cashu/wallet/cli/cli.py b/cashu/wallet/cli/cli.py index 768c69e..2e4d99e 100644 --- a/cashu/wallet/cli/cli.py +++ b/cashu/wallet/cli/cli.py @@ -222,6 +222,7 @@ async def invoice(ctx: Context, amount: int, hash: str, split: int): @coro async def balance(ctx: Context, verbose): wallet: Wallet = ctx.obj["WALLET"] + await wallet.load_proofs() if verbose: # show balances per keyset keyset_balances = wallet.balance_per_keyset()