Updated on 2026-08-14

This commit is contained in:
Tangem 2026-03-05 20:34:10 +04:00
parent 74accc90c9
commit b6777bbb7a
16 changed files with 1 additions and 117 deletions

View file

@ -178,7 +178,6 @@ class AccountNodeRecognizer(private val blockchain: Blockchain) {
Blockchain.Quai,
Blockchain.Plasma,
Blockchain.Monad,
Blockchain.Berachain,
-> true
Blockchain.Nexa, // unsupported network
Blockchain.Chia,
@ -255,7 +254,6 @@ class AccountNodeRecognizer(private val blockchain: Blockchain) {
Blockchain.LineaTestnet,
Blockchain.PlasmaTestnet,
Blockchain.MonadTestnet,
Blockchain.BerachainTestnet,
-> false
// endregion
}

View file

@ -103,29 +103,6 @@ internal class AccountNodeRecognizerTest {
expected = null,
),
// endregion
// region Berachain blockchain (EVM-like)
TestModel(
blockchain = Blockchain.Berachain,
derivationPath = "m/44'/60'/0'/0/1",
expected = 1,
),
TestModel(
blockchain = Blockchain.Berachain,
derivationPath = "m/44'/60'/0'/0/0",
expected = 0,
),
TestModel(
blockchain = Blockchain.Berachain,
derivationPath = "m/44'/60'/0'/0",
expected = null,
),
TestModel(
blockchain = Blockchain.Berachain,
derivationPath = "m/44'/60'",
expected = null,
),
// endregion
)
private fun provideUTXOTestModels() = listOf(