Updated on 2026-08-14

This commit is contained in:
Tangem 2025-09-24 15:29:08 +05:00
parent 808cd4a301
commit 9e1c8500cc

View file

@ -83,7 +83,7 @@ internal class DefaultYieldSupplyTransactionRepository(
walletManager = walletManager, walletManager = walletManager,
cryptoCurrency = cryptoCurrency, cryptoCurrency = cryptoCurrency,
callData = callData, callData = callData,
destinationAddress = walletManager.getYieldContract(), destinationAddress = walletManager.getYieldModuleAddress(),
amount = BigDecimal.ZERO.convertToSdkAmount(cryptoCurrencyStatus), amount = BigDecimal.ZERO.convertToSdkAmount(cryptoCurrencyStatus),
fee = fee, fee = fee,
) )
@ -175,7 +175,7 @@ internal class DefaultYieldSupplyTransactionRepository(
blockchain = cryptoCurrency.network.toBlockchain(), blockchain = cryptoCurrency.network.toBlockchain(),
derivationPath = cryptoCurrency.network.derivationPath.value, derivationPath = cryptoCurrency.network.derivationPath.value,
) ?: error("Wallet manager not found") ) ?: error("Wallet manager not found")
walletManager.calculateYieldContract() walletManager.calculateYieldModuleAddress()
}.onFailure(Timber::e).getOrNull() }.onFailure(Timber::e).getOrNull()
} }
@ -188,7 +188,7 @@ internal class DefaultYieldSupplyTransactionRepository(
blockchain = cryptoCurrency.network.toBlockchain(), blockchain = cryptoCurrency.network.toBlockchain(),
derivationPath = cryptoCurrency.network.derivationPath.value, derivationPath = cryptoCurrency.network.derivationPath.value,
) ?: error("Wallet manager not found") ) ?: error("Wallet manager not found")
walletManager.getYieldContract() walletManager.getYieldModuleAddress()
}.onFailure(Timber::e).getOrNull() }.onFailure(Timber::e).getOrNull()
} }