mirror of
https://git.wownero.com/lza_menace/tg-bot.git
synced 2024-08-15 00:23:12 +00:00
update balances stmt
This commit is contained in:
parent
7b98ee33a3
commit
3d5e316f75
1 changed files with 3 additions and 1 deletions
|
@ -31,7 +31,9 @@ def get_balances():
|
|||
accounts = wallet.accounts()
|
||||
for acc in accounts:
|
||||
balances = wallet.balances(account=acc[0])
|
||||
click.echo(f'wallet {acc[0]} ({acc[1][0:12]}) - {float(balances[0])} locked, {float(balances[1])} unlocked')
|
||||
unlocked = balances[1]
|
||||
locked = balances[0] - balances[1]
|
||||
click.echo(f'wallet {acc[0]} ({acc[1][0:12]}) - {float(locked)} locked, {float(unlocked)} unlocked')
|
||||
|
||||
@click.command()
|
||||
def generate_bot_help():
|
||||
|
|
Loading…
Reference in a new issue