mirror of
https://github.com/aljazceru/nutshell.git
synced 2025-12-20 18:44: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
|
@coro
|
||||||
async def balance(ctx: Context, verbose):
|
async def balance(ctx: Context, verbose):
|
||||||
wallet: Wallet = ctx.obj["WALLET"]
|
wallet: Wallet = ctx.obj["WALLET"]
|
||||||
|
await wallet.load_proofs()
|
||||||
if verbose:
|
if verbose:
|
||||||
# show balances per keyset
|
# show balances per keyset
|
||||||
keyset_balances = wallet.balance_per_keyset()
|
keyset_balances = wallet.balance_per_keyset()
|
||||||
|
|||||||
Reference in New Issue
Block a user