Updated on 2026-08-14

This commit is contained in:
Tangem 2025-08-04 12:11:22 +04:00
parent aa2439e3fa
commit e803ab0d7d
12 changed files with 103 additions and 24 deletions

View file

@ -76,7 +76,7 @@ internal class WcEthTxHelper @Inject constructor(
?: return null
val approves = (simulation.data as? SimulationData.Approve)?.approvedAmounts
?: return null
if (approves.size != 1) return null
if (approves.isEmpty()) return null
val amount = approves.first()
return amount
}