Updated on 2026-08-14

This commit is contained in:
Tangem 2022-07-08 21:04:03 +03:00
parent 17066df741
commit c4241a2ee4
5 changed files with 14 additions and 2 deletions

View file

@ -91,7 +91,7 @@ private fun handleAction(action: Action, appState: () -> AppState?, dispatch: Di
config?.moonPayApiSecretKey,
) { mercuryoWidgetId, moonPayKey, moonPaySecretKey ->
scope.launch {
val buyService = MercuryoService(MercuryoApi.API_VERSION, mercuryoWidgetId)
val buyService = MercuryoService(MercuryoApi.API_VERSION, mercuryoWidgetId, "")
val sellService = MoonPayService(moonPayKey, moonPaySecretKey)
val exchangeManager = CurrencyExchangeManager(buyService, sellService)
store.dispatchOnMain(GlobalAction.ExchangeManager.Init.Success(exchangeManager))