Updated on 2026-08-14
This commit is contained in:
parent
645f6b1993
commit
e42c887138
8 changed files with 101 additions and 7 deletions
|
|
@ -7,4 +7,6 @@ import com.tangem.domain.models.network.Network
|
|||
fun Network.toBlockchain(): Blockchain = id.toBlockchain()
|
||||
|
||||
/** Converts [Network.ID] to [Blockchain] */
|
||||
fun Network.ID.toBlockchain(): Blockchain = Blockchain.fromId(id = rawId.value)
|
||||
fun Network.ID.toBlockchain(): Blockchain = rawId.toBlockchain()
|
||||
|
||||
fun Network.RawID.toBlockchain(): Blockchain = Blockchain.fromId(id = value)
|
||||
Loading…
Add table
Add a link
Reference in a new issue