Updated on 2026-08-14

This commit is contained in:
Tangem 2025-11-21 11:38:00 +02:00
parent 9b506f8b25
commit 39f385d4ba
7 changed files with 10 additions and 15 deletions

View file

@ -8,13 +8,9 @@ internal class DefaultP2PEthPoolAuthProvider(
) : P2PEthPoolAuthProvider {
override fun getApiKey(): String {
// val keys = environmentConfigStorage.getConfigSync().p2pApiKey
// ?: error("No P2P api keys provided")
//
// return keys.mainnet
val keys = environmentConfigStorage.getConfigSync().p2pApiKey
?: error("No P2P api keys provided")
environmentConfigStorage
return "TODO restore p2p config call after release 5.30"
return keys.mainnet
}
}