From 2bc7edfd010d7e44fd2fd33aef51ddaf57697f51 Mon Sep 17 00:00:00 2001 From: Sebastian Bor Date: Wed, 21 Jul 2021 11:23:47 +0100 Subject: [PATCH] Explorer: Include loader ids in program labels (#18778) --- explorer/src/utils/tx.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/explorer/src/utils/tx.ts b/explorer/src/utils/tx.ts index a4df63fb7b..ae14d0f2bf 100644 --- a/explorer/src/utils/tx.ts +++ b/explorer/src/utils/tx.ts @@ -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) ||