From 8da5161c9751a747547f564322fa83c06be4c135 Mon Sep 17 00:00:00 2001 From: dsc Date: Thu, 13 Jun 2024 03:06:03 +0300 Subject: [PATCH] Allow address length 97 and 108 --- yellow/routes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yellow/routes.py b/yellow/routes.py index 46001dd..a00019e 100644 --- a/yellow/routes.py +++ b/yellow/routes.py @@ -36,7 +36,7 @@ async def dashboard(): async def dashboard_address_post(): form = await request.form address = form.get('address') - if len(address) != 97: + if len(address) not in [97, 108]: raise Exception("Please submit a WOW address") # update user