include WOW str when showing balances
This commit is contained in:
parent
219e2491e3
commit
ff3b638641
|
@ -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 New Issue