From 9e1c8500cc05d3e2ae43084108beeca5b5d6a077 Mon Sep 17 00:00:00 2001 From: Tangem Date: Wed, 24 Sep 2025 15:29:08 +0500 Subject: [PATCH] Updated on 2026-08-14 --- .../yield/supply/DefaultYieldSupplyTransactionRepository.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/data/yield-supply/src/main/java/com/tangem/data/yield/supply/DefaultYieldSupplyTransactionRepository.kt b/data/yield-supply/src/main/java/com/tangem/data/yield/supply/DefaultYieldSupplyTransactionRepository.kt index ea544fed18..cbc1107bd4 100644 --- a/data/yield-supply/src/main/java/com/tangem/data/yield/supply/DefaultYieldSupplyTransactionRepository.kt +++ b/data/yield-supply/src/main/java/com/tangem/data/yield/supply/DefaultYieldSupplyTransactionRepository.kt @@ -83,7 +83,7 @@ internal class DefaultYieldSupplyTransactionRepository( walletManager = walletManager, cryptoCurrency = cryptoCurrency, callData = callData, - destinationAddress = walletManager.getYieldContract(), + destinationAddress = walletManager.getYieldModuleAddress(), amount = BigDecimal.ZERO.convertToSdkAmount(cryptoCurrencyStatus), fee = fee, ) @@ -175,7 +175,7 @@ internal class DefaultYieldSupplyTransactionRepository( blockchain = cryptoCurrency.network.toBlockchain(), derivationPath = cryptoCurrency.network.derivationPath.value, ) ?: error("Wallet manager not found") - walletManager.calculateYieldContract() + walletManager.calculateYieldModuleAddress() }.onFailure(Timber::e).getOrNull() } @@ -188,7 +188,7 @@ internal class DefaultYieldSupplyTransactionRepository( blockchain = cryptoCurrency.network.toBlockchain(), derivationPath = cryptoCurrency.network.derivationPath.value, ) ?: error("Wallet manager not found") - walletManager.getYieldContract() + walletManager.getYieldModuleAddress() }.onFailure(Timber::e).getOrNull() }