diff --git a/explorer/src/components/account/UpgradeableLoaderAccountSection.tsx b/explorer/src/components/account/UpgradeableLoaderAccountSection.tsx index 37e1ef4a36..4b97a77b08 100644 --- a/explorer/src/components/account/UpgradeableLoaderAccountSection.tsx +++ b/explorer/src/components/account/UpgradeableLoaderAccountSection.tsx @@ -135,8 +135,12 @@ export function UpgradeableProgramSection({ ) : ( <> - {verifiableBuilds.map((b) => ( - + {verifiableBuilds.map((b, i) => ( + ))} )} diff --git a/explorer/src/components/common/VerifiedBadge.tsx b/explorer/src/components/common/VerifiedBadge.tsx index 331ebfe63a..682942b58f 100644 --- a/explorer/src/components/common/VerifiedBadge.tsx +++ b/explorer/src/components/common/VerifiedBadge.tsx @@ -2,10 +2,12 @@ import { VerifiableBuild } from "utils/program-verification"; export function VerifiedBadge({ verifiableBuild, + deploySlot, }: { verifiableBuild: VerifiableBuild; + deploySlot: number; }) { - if (verifiableBuild && verifiableBuild.verified_slot) { + if (verifiableBuild && verifiableBuild.verified_slot === deploySlot) { return (