Add debug statements for cheat

This commit is contained in:
Mark Veidemanis 2023-03-11 17:20:07 +00:00
parent a314a09154
commit ae3d514db1
Signed by: m
GPG Key ID: 5ACFCEED46C0904F
1 changed files with 2 additions and 0 deletions

View File

@ -356,6 +356,7 @@ class LocalPlatformClient(ABC):
return sec_ago_date < 172800 return sec_ago_date < 172800
async def enum_public_ads(self, asset, currency, provider, page=0): async def enum_public_ads(self, asset, currency, provider, page=0):
log.debug(f"Enumerating public ads: {asset}/{currency}/{provider} ({page})")
to_return = [] to_return = []
# buy-monero-online, buy-bitcoin-online # buy-monero-online, buy-bitcoin-online
# Work around Agora weirdness calling it bitcoins # Work around Agora weirdness calling it bitcoins
@ -407,6 +408,7 @@ class LocalPlatformClient(ABC):
# await [ad_id, username, temp_price, provider, asset, currency] # await [ad_id, username, temp_price, provider, asset, currency]
if found_us: if found_us:
log.debug("Aborting fetch after finding our username")
return to_return return to_return
if "pagination" in ads: if "pagination" in ads:
if ads["pagination"]: if ads["pagination"]: