Updated on 2026-08-14

This commit is contained in:
Tangem 2022-10-25 20:47:25 +05:00
parent b5ddd53157
commit 3a35d3af51

View file

@ -317,10 +317,7 @@ private suspend fun checkGasIfNeeded(
step: SaltPayActivationStep,
): Result<Unit> {
Timber.d("checkGasIfNeeded: for step: %s", step)
if (step == SaltPayActivationStep.KycStart ||
step == SaltPayActivationStep.KycWaiting ||
step == SaltPayActivationStep.Finished
) {
if (step.ordinal >= SaltPayActivationStep.KycIntro.ordinal) {
Timber.d("checkGasIfNeeded: no need to check for step: %s", step)
return Result.Success(Unit)
}