From 1d5ed059b322ca6d1631a6534b977cd0d306d9da Mon Sep 17 00:00:00 2001 From: Nathan Woodburn Date: Wed, 16 Jul 2025 16:30:08 +1000 Subject: [PATCH] fix: Allow rescan while not in bidding --- account.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/account.py b/account.py index 4427a61..83a3de1 100644 --- a/account.py +++ b/account.py @@ -867,10 +867,12 @@ def rescan_auction(account, domain): return { "error": "Invalid domain" } - if 'bidPeriodStart' not in response['result']['info']['stats']: + if 'height' not in response['result']['info']: return { - "error": "Not in auction" + "error": "Can't find start" } + + height = response['result']['info']['height']-1 response = hsw.rpc_importName(domain, height) return response