Updated on 2026-08-14

This commit is contained in:
Tangem 2022-10-06 11:19:11 +04:00
parent 222398b9bb
commit 960b1306b7
2 changed files with 2 additions and 2 deletions

View file

@ -59,7 +59,7 @@ sealed interface Currency {
fun isToken(): Boolean = this is Token
fun toTokenResponse(): TokenResponse {
return TokenResponse(
id = coinId ?: "",
id = coinId,
networkId = blockchain.toNetworkId(),
derivationPath = derivationPath ?: DERIVATION_PATH_RAW_VALUE,
name = currencyName,

View file

@ -57,7 +57,7 @@ data class UserTokensResponse(
) : TangemTechResponse
data class TokenResponse(
val id: String,
val id: String? = null,
val networkId: String,
val derivationPath: String,
val name: String,