mirror of
https://github.com/stronk-dev/OrchestratorTracker.git
synced 2025-07-05 02:45:10 +02:00
Fix orch name update
This commit is contained in:
parent
bff8b714d9
commit
46305d97e8
@ -206,7 +206,7 @@ const onOrchUpdate = async function (id, obj, tag, region, livepeer_regions) {
|
||||
let newObj = orchCache[id.toLowerCase()];
|
||||
if (!newObj) {
|
||||
newObj = {
|
||||
name: obj.name,
|
||||
name: ensDomain,
|
||||
regionalStats: {},
|
||||
instances: {},
|
||||
leaderboardResults: { lastTime: now },
|
||||
@ -358,9 +358,6 @@ const onOrchUpdate = async function (id, obj, tag, region, livepeer_regions) {
|
||||
newInstance.longitude = obj.resolv.geoLookup.longitude;
|
||||
}
|
||||
|
||||
// Update name
|
||||
newObj.name = obj.name;
|
||||
|
||||
// Finished updating
|
||||
newObj.instances[obj.resolv.resolvedTarget] = newInstance;
|
||||
newObj.regionalStats[tag] = newRegion;
|
||||
|
Loading…
x
Reference in New Issue
Block a user