Updated on 2026-08-14

This commit is contained in:
Tangem 2026-05-05 18:32:39 +03:00
parent 67ca192c16
commit 7b6fc18a8f
12 changed files with 79 additions and 113 deletions

View file

@ -84,10 +84,8 @@ internal class MockAwareTangemPayStorage @Inject constructor(
override suspend fun storeCheckCustomerWalletResult(userWalletId: UserWalletId, isPaeraCustomer: Boolean) =
real.storeCheckCustomerWalletResult(userWalletId, isPaeraCustomer)
override suspend fun checkCustomerWalletResult(userWalletId: UserWalletId): Boolean? {
if (isMockMode) return true
return real.checkCustomerWalletResult(userWalletId)
}
override suspend fun checkCustomerWalletResult(userWalletId: UserWalletId): Boolean? =
real.checkCustomerWalletResult(userWalletId)
override suspend fun storeActiveWithdrawOrderId(userWalletId: UserWalletId, orderId: String) =
real.storeActiveWithdrawOrderId(userWalletId, orderId)