use as_wownero func to fix incoming amount

master
lza_menace 4 years ago
parent 3444c6b0c4
commit f4041f1325

@ -159,7 +159,7 @@ def send(update, context):
# validate amount
try:
amount = Decimal(context.args[1])
amount = wownero.as_wownero(context.args[1])
except:
update.message.reply_text(f'Bad Wownero amount specified; "{context.args[1]}" is not a valid number.')
return False

Loading…
Cancel
Save