Updated on 2026-08-14

This commit is contained in:
Tangem 2025-07-18 18:16:27 +05:00
parent c1ad1e43ce
commit 68fbe17731
18 changed files with 968 additions and 29 deletions

View file

@ -27,6 +27,7 @@ class SwapTransactionSentUseCase(
swapDataTransactionModel: SwapDataTransactionModel,
provider: ExpressProvider,
txHash: String,
timestamp: Long,
) = Either.catch {
swapRepositoryV2.swapTransactionSent(
userWallet = userWallet,
@ -37,7 +38,6 @@ class SwapTransactionSentUseCase(
txExtraId = swapDataTransactionModel.txExtraId,
)
if (provider.type.shouldStoreSwapTransaction()) {
val timestamp = System.currentTimeMillis()
swapTransactionRepository.storeTransaction(
userWalletId = userWallet.walletId,
fromCryptoCurrency = fromCryptoCurrencyStatus.currency,