mirror of
https://github.com/stronk-dev/OrchestratorTracker.git
synced 2025-07-05 02:45:10 +02:00
Fix leaderboard results lat/lng mapping
This commit is contained in:
parent
488c3cff64
commit
ab7c8e4510
@ -435,8 +435,8 @@ const updateScore = async function (address) {
|
||||
let longitude = null;
|
||||
for (const [resolvedTarget, instance] of Object.entries(thisInstances)) {
|
||||
if (instance.livepeer_regions[region]) {
|
||||
latitude = instance.livepeer_regions[region].latitude;
|
||||
longitude = instance.livepeer_regions[region].longitude;
|
||||
latitude = instance.latitude;
|
||||
longitude = instance.longitude;
|
||||
}
|
||||
}
|
||||
console.log(
|
||||
|
Loading…
x
Reference in New Issue
Block a user