Updated on 2026-08-14

This commit is contained in:
Tangem 2022-12-07 14:56:00 +03:00
parent b5f6af970b
commit 141c7d3936
14 changed files with 66 additions and 64 deletions

View file

@ -121,7 +121,7 @@ class DerivationManagerImpl(
)
}
else -> {
throw IllegalStateException("result result is null")
error("result result is null")
}
}
}

View file

@ -93,10 +93,10 @@ class UserWalletManagerImpl(
if (walletManager != null) {
return walletManager.wallet.address
} else {
throw IllegalStateException("no wallet manager found")
error("no wallet manager found")
}
} else {
throw IllegalStateException("no blockchain or card found")
error("no blockchain or card found")
}
}
@ -119,7 +119,7 @@ class UserWalletManagerImpl(
save = true,
)
} else {
throw IllegalStateException("blockchain is not supported")
error("blockchain is not supported")
}
}
@ -142,7 +142,7 @@ class UserWalletManagerImpl(
save = true,
)
} else {
throw IllegalStateException("no card or blockchain found")
error("no card or blockchain found")
}
}