Updated on 2026-08-14

This commit is contained in:
Tangem 2019-04-04 11:36:56 +03:00
parent 40e6ad8acf
commit 3fe89fb392
3 changed files with 12 additions and 30 deletions

View file

@ -76,31 +76,20 @@ object CoinEngineFactory {
var result: CoinEngine?
try {
result = EthEngine(context)// CardanoEngine(context)
} catch (e: Exception) {
e.printStackTrace()
result = null
Log.e(TAG, "Can't create Cardano CoinEngine!")
}
return result
// var result: EthEngine?
// try {
// result = EthEngine(context)
//
// } catch (e: Exception) {
// e.printStackTrace()
// result = null
// Log.e(TAG, "Can't create Cardano CoinEngine!")
// }
// return result
}
fun createCardanoData(): CoinData? {
return EthData()// CardanoData()
return CardanoData()
}
fun isCardano(blockchainID: String): Boolean {
return blockchainID==Blockchain.Ethereum.id
return blockchainID == Blockchain.Cardano.id
}
}