mirror of
https://git.wownero.com/lza_menace/tg-bot.git
synced 2024-08-15 00:23:12 +00:00
fixing accepted address lengths for shitty validation
This commit is contained in:
parent
44617b5a4f
commit
4d9f1ab2df
1 changed files with 1 additions and 1 deletions
|
@ -165,7 +165,7 @@ def send(update, context):
|
||||||
return False
|
return False
|
||||||
|
|
||||||
# validate address
|
# validate address
|
||||||
if len(context.args[0]) in [97, 107, 109]:
|
if len(context.args[0]) in [97, 108]:
|
||||||
address = context.args[0]
|
address = context.args[0]
|
||||||
else:
|
else:
|
||||||
update.message.reply_text('This does not look like a valid Wownero address. Try again.')
|
update.message.reply_text('This does not look like a valid Wownero address. Try again.')
|
||||||
|
|
Loading…
Reference in a new issue