Skip to content

Commit 96704a8

Browse files
authored
Add commit hash to Verified Build repo url when available from PDA (#429)
1 parent 9c350e5 commit 96704a8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/utils/verified-builds.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,7 @@ function useEnrichedOsecInfo({
192192
verify_command: '',
193193
};
194194
enrichedOsecInfo.repo_url = pdaData.gitUrl;
195+
enrichedOsecInfo.repo_url += pdaData.commit.length ? '/tree/' + pdaData.commit : '';
195196
if (pdaData) {
196197
// Create command from the args of the verified build PDA
197198
enrichedOsecInfo.verify_command = coalesceCommandFromPda(programId, pdaData);

0 commit comments

Comments
 (0)