Updated on 2026-08-14

This commit is contained in:
Tangem 2023-03-31 11:46:23 +05:00
commit 85336b220e
64 changed files with 589 additions and 449 deletions

View file

@ -79,8 +79,7 @@ object TapWorkarounds {
"Now blockchain is read form files (CardTypesResolver.getBlockchain), " +
"but for previously saved cards this method is still used",
)
fun CardDTO.getTangemNoteBlockchain(): Blockchain? =
tangemNoteBatches[batchId] ?: if (isSaltPay) Blockchain.Gnosis else null
fun CardDTO.getTangemNoteBlockchain(): Blockchain? = tangemNoteBatches[batchId]
fun isStart2CoinIssuer(cardIssuer: String?): Boolean {
return cardIssuer?.lowercase(Locale.US) == START_2_COIN_ISSUER