Updated on 2026-08-14
This commit is contained in:
parent
c1af0daa09
commit
39e8abe1bb
18 changed files with 208 additions and 14 deletions
|
|
@ -26,4 +26,10 @@ object BlockchainUtils {
|
|||
null
|
||||
}
|
||||
}
|
||||
|
||||
/** If current [networkId] is Bitcoin */
|
||||
fun isBitcoin(networkId: String): Boolean {
|
||||
val blockchain = Blockchain.fromId(networkId)
|
||||
return blockchain == Blockchain.Bitcoin || blockchain == Blockchain.BitcoinTestnet
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue