Updated on 2026-08-14

This commit is contained in:
Tangem 2024-12-06 23:56:29 +03:00
commit de10beb7cf

View file

@ -186,7 +186,7 @@ internal object LegacyScanProcessor {
onCancel: () -> Unit,
onSuccess: suspend () -> Unit,
) {
val userWalletId = UserWalletIdBuilder.card(scanResponse.card).build()
val userWalletId = runCatching { UserWalletIdBuilder.card(scanResponse.card).build() }.getOrNull()
if (userWalletId == null) {
onSuccess()
return