Updated on 2026-08-14
This commit is contained in:
parent
1451f23cb2
commit
ff2907e26e
3 changed files with 14 additions and 3 deletions
|
|
@ -100,7 +100,7 @@ internal class DefaultNetworksRepository(
|
|||
|
||||
override fun isNeedToCreateAccountWithoutReserve(network: Network): Boolean {
|
||||
val blockchain = Blockchain.fromNetworkId(network.id.value)
|
||||
return blockchain == Blockchain.Aptos
|
||||
return REQUIRED_ACCOUNT_WITHOUT_RESERVE_BLOCKCHAINS.contains(blockchain)
|
||||
}
|
||||
|
||||
override suspend fun getNetworkAddresses(
|
||||
|
|
@ -345,4 +345,9 @@ internal class DefaultNetworksRepository(
|
|||
private fun getNetworksStatusesCacheKey(userWalletId: UserWalletId, network: Network): String {
|
||||
return "network_status_${userWalletId}_${network.id.value}_${network.derivationPath.value}"
|
||||
}
|
||||
|
||||
private companion object {
|
||||
|
||||
val REQUIRED_ACCOUNT_WITHOUT_RESERVE_BLOCKCHAINS = listOf(Blockchain.Aptos, Blockchain.Filecoin)
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue