Fix whitelist bug

This commit is contained in:
Mark Veidemanis 2023-03-10 15:06:25 +00:00
parent 9b6180ac5b
commit bf65d028f1
Signed by: m
GPG Key ID: 5ACFCEED46C0904F
1 changed files with 2 additions and 0 deletions

View File

@ -715,6 +715,8 @@ class LocalPlatformClient(ABC):
if provider not in self.instance.ads_providers: if provider not in self.instance.ads_providers:
continue continue
if currency in supported_currencies: if currency in supported_currencies:
if currency not in account_info:
continue
rtrn = await self.create_ad( rtrn = await self.create_ad(
asset, asset,
countrycode, countrycode,