Fixed compilation issue

This commit is contained in:
SessionHero01
2024-10-23 15:17:37 +11:00
parent 7c1efeaaaa
commit 5e44d3f808

View File

@@ -106,6 +106,7 @@ class IP2Country internal constructor(
private fun populateCacheIfNeeded() {
GlobalScope.launch {
val start = System.currentTimeMillis()
OnionRequestAPI.paths.iterator().forEach { path ->
path.iterator().forEach { snode ->
cacheCountryForIP(snode.ip) // Preload if needed