From ae3d514db1d2885ac6b0d27233dbe6c373df6c56 Mon Sep 17 00:00:00 2001 From: Mark Veidemanis Date: Sat, 11 Mar 2023 17:20:07 +0000 Subject: [PATCH] Add debug statements for cheat --- core/clients/platform.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/clients/platform.py b/core/clients/platform.py index 162aae8..4ce0290 100644 --- a/core/clients/platform.py +++ b/core/clients/platform.py @@ -356,6 +356,7 @@ class LocalPlatformClient(ABC): return sec_ago_date < 172800 async def enum_public_ads(self, asset, currency, provider, page=0): + log.debug(f"Enumerating public ads: {asset}/{currency}/{provider} ({page})") to_return = [] # buy-monero-online, buy-bitcoin-online # Work around Agora weirdness calling it bitcoins @@ -407,6 +408,7 @@ class LocalPlatformClient(ABC): # await [ad_id, username, temp_price, provider, asset, currency] if found_us: + log.debug("Aborting fetch after finding our username") return to_return if "pagination" in ads: if ads["pagination"]: