From 85438a328f7880d393517fee427f3b19f814d903 Mon Sep 17 00:00:00 2001 From: Ilya Shulgin Date: Fri, 3 Nov 2023 11:50:21 +0200 Subject: [PATCH] AND-5165 Fixed NEAR decimals. --- .../main/java/com/tangem/blockchain/common/Blockchain.kt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/blockchain/src/main/java/com/tangem/blockchain/common/Blockchain.kt b/blockchain/src/main/java/com/tangem/blockchain/common/Blockchain.kt index 4d75efb69..d35685874 100644 --- a/blockchain/src/main/java/com/tangem/blockchain/common/Blockchain.kt +++ b/blockchain/src/main/java/com/tangem/blockchain/common/Blockchain.kt @@ -102,8 +102,7 @@ enum class Blockchain( fun decimals(): Int = when (this) { Unknown -> 0 - Near, NearTestnet, - -> 5 + Cardano, XRP, Tezos, @@ -149,6 +148,9 @@ enum class Blockchain( Telos, TelosTestnet, OctaSpace, OctaSpaceTestnet, -> 18 + + Near, NearTestnet, + -> 24 } fun makeAddresses(