From 04d0dc27837665f9f79251871b0ddc62dfefabaf Mon Sep 17 00:00:00 2001 From: HashEngineering Date: Tue, 6 Feb 2024 08:48:12 -0500 Subject: [PATCH] fix: remove unused functions in the ExchangeIntegrationProvider interface --- .../java/org/dash/wallet/common/integrations/Integration.kt | 3 --- .../wallet/service/ExchangeIntegrationListProvider.kt | 4 ---- 2 files changed, 7 deletions(-) diff --git a/common/src/main/java/org/dash/wallet/common/integrations/Integration.kt b/common/src/main/java/org/dash/wallet/common/integrations/Integration.kt index f92164a03e..d2b61fe538 100644 --- a/common/src/main/java/org/dash/wallet/common/integrations/Integration.kt +++ b/common/src/main/java/org/dash/wallet/common/integrations/Integration.kt @@ -33,8 +33,5 @@ data class ExchangeIntegration( ) interface ExchangeIntegrationProvider { - suspend fun getDepositAddresses(currency: String): List - // fun observeDepositAddresses(currency: String) : Flow> - fun connectToIntegration(name: String) } diff --git a/wallet/src/de/schildbach/wallet/service/ExchangeIntegrationListProvider.kt b/wallet/src/de/schildbach/wallet/service/ExchangeIntegrationListProvider.kt index 5a41a30e87..9f56ddcc30 100644 --- a/wallet/src/de/schildbach/wallet/service/ExchangeIntegrationListProvider.kt +++ b/wallet/src/de/schildbach/wallet/service/ExchangeIntegrationListProvider.kt @@ -179,8 +179,4 @@ class ExchangeIntegrationListProvider @Inject constructor( } return false } - - override fun connectToIntegration(name: String) { - TODO("Not yet implemented") - } }