include WOW str when showing balances

This commit is contained in:
lza_menace 2020-07-21 00:12:13 -07:00
parent 219e2491e3
commit ff3b638641
1 changed files with 1 additions and 1 deletions

View File

@ -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