mirror of
https://git.wownero.com/lza_menace/tg-bot.git
synced 2024-08-15 00:23:12 +00:00
include WOW str when showing balances
This commit is contained in:
parent
219e2491e3
commit
ff3b638641
1 changed files with 1 additions and 1 deletions
|
@ -189,7 +189,7 @@ def send(update, context):
|
|||
def balance(update, context):
|
||||
u = db.User.get(telegram_id=update.message.from_user['id'])
|
||||
balances = wownero.Wallet().balances(account=u.account_index)
|
||||
update.message.reply_text(f'Available balance for {update.message.from_user["username"]}: {float(balances[1])} ({float(balances[0])} locked)')
|
||||
update.message.reply_text(f'Available balance for {update.message.from_user["username"]}: {float(balances[1])} WOW ({float(balances[0])} WOW locked)')
|
||||
|
||||
@wallet_rpc_required
|
||||
@registration_required
|
||||
|
|
Loading…
Reference in a new issue