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;
|
let longitude = null;
|
||||||
for (const [resolvedTarget, instance] of Object.entries(thisInstances)) {
|
for (const [resolvedTarget, instance] of Object.entries(thisInstances)) {
|
||||||
if (instance.livepeer_regions[region]) {
|
if (instance.livepeer_regions[region]) {
|
||||||
latitude = instance.livepeer_regions[region].latitude;
|
latitude = instance.latitude;
|
||||||
longitude = instance.livepeer_regions[region].longitude;
|
longitude = instance.longitude;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
console.log(
|
console.log(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user