Skip to content

Commit

Permalink
fix(secret): sign metadata from lock event
Browse files Browse the repository at this point in the history
  • Loading branch information
muhammadusmanuet committed Dec 16, 2024
1 parent af7fd59 commit 8ffb267
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/handler/lock-listener/lock-listener.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ export async function listenEvents(
// ? ev.metaDataUri
// : nftDetails.metadata || ev.metaDataUri;

if (ev.sourceChain === "CASPER") {
if (ev.sourceChain === "CASPER" || data.sourceChain === "SECRET") {
metadataUri = ev.metaDataUri;
} else {
metadataUri = nftDetails.metadata || ev.metaDataUri;
Expand Down

0 comments on commit 8ffb267

Please sign in to comment.