Explorer: Include loader ids in program labels (#18778)
This commit is contained in:
@ -157,6 +157,8 @@ export function programLabel(
|
||||
if (programName && PROGRAM_DEPLOYMENTS[programName].includes(cluster)) {
|
||||
return programName;
|
||||
}
|
||||
|
||||
return LOADER_IDS[address];
|
||||
}
|
||||
|
||||
export function tokenLabel(
|
||||
@ -179,7 +181,6 @@ export function addressLabel(
|
||||
): string | undefined {
|
||||
return (
|
||||
programLabel(address, cluster) ||
|
||||
LOADER_IDS[address] ||
|
||||
SYSVAR_IDS[address] ||
|
||||
SYSVAR_ID[address] ||
|
||||
tokenLabel(address, tokenRegistry) ||
|
||||
|
Reference in New Issue
Block a user