From 4d9f1ab2dfbfd79cf34af4ad22d1c6d6d6a721ac Mon Sep 17 00:00:00 2001 From: lza_menace Date: Wed, 5 Aug 2020 21:26:19 -0700 Subject: [PATCH] fixing accepted address lengths for shitty validation --- tipbot/commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tipbot/commands.py b/tipbot/commands.py index e2221f1..1a26590 100644 --- a/tipbot/commands.py +++ b/tipbot/commands.py @@ -165,7 +165,7 @@ def send(update, context): return False # validate address - if len(context.args[0]) in [97, 107, 109]: + if len(context.args[0]) in [97, 108]: address = context.args[0] else: update.message.reply_text('This does not look like a valid Wownero address. Try again.')