mirror of
https://github.com/aljazceru/nutshell.git
synced 2025-12-20 10:34:20 +01:00
balance: await wallet.load_proofs() (#254)
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user