Skip to content

Commit

Permalink
Add sdk check.
Browse files Browse the repository at this point in the history
  • Loading branch information
mariacarmina committed Nov 25, 2024
1 parent 3b24717 commit bfccdc7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ export async function createAssetUtil(

) {
const { chainId } = await owner.provider.getNetwork();
if(templateId === 4){
if(templateId === 4 && config.sdk === 'oasis'){
// Wrap the signer for Sapphire
const wrappedSigner = sapphire.wrap(owner);

Expand Down

0 comments on commit bfccdc7

Please sign in to comment.