include WOW str when showing balances

master
lza_menace 4 years ago
parent 219e2491e3
commit ff3b638641

@ -189,7 +189,7 @@ def send(update, context):
def balance(update, context): def balance(update, context):
u = db.User.get(telegram_id=update.message.from_user['id']) u = db.User.get(telegram_id=update.message.from_user['id'])
balances = wownero.Wallet().balances(account=u.account_index) 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 @wallet_rpc_required
@registration_required @registration_required

Loading…
Cancel
Save