|
|
@ -598,7 +598,9 @@ class Agora(util.Base):
|
|
|
|
supported_currencies, account_info = self.markets.get_valid_account_details()
|
|
|
|
supported_currencies, account_info = self.markets.get_valid_account_details()
|
|
|
|
for asset, ad_id, countrycode, currency, provider in our_ads:
|
|
|
|
for asset, ad_id, countrycode, currency, provider in our_ads:
|
|
|
|
if currency in supported_currencies:
|
|
|
|
if currency in supported_currencies:
|
|
|
|
rtrn = self.create_ad(asset, countrycode, currency, provider, edit=True, ad_id=ad_id)
|
|
|
|
rtrn = self.create_ad(
|
|
|
|
|
|
|
|
asset, countrycode, currency, provider, payment_details=account_info[currency], edit=True, ad_id=ad_id
|
|
|
|
|
|
|
|
)
|
|
|
|
# Bail on first error, let's not continue
|
|
|
|
# Bail on first error, let's not continue
|
|
|
|
if rtrn is False:
|
|
|
|
if rtrn is False:
|
|
|
|
return False
|
|
|
|
return False
|
|
|
|