use as_wownero func to fix incoming amount

This commit is contained in:
lza_menace 2020-07-21 10:45:59 -07:00
parent 3444c6b0c4
commit f4041f1325
1 changed files with 1 additions and 1 deletions

View File

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