Skip to content

Commit

Permalink
concatenate extension to name
Browse files Browse the repository at this point in the history
  • Loading branch information
miquelcabot committed Aug 17, 2022
1 parent a968ace commit 3f73fb5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contracts/SoulBoundName.sol
Expand Up @@ -109,7 +109,7 @@ contract SoulBoundName is

return (
soulBoundNameData.owner,
soulBoundNameData.name,
string.concat(soulBoundNameData.name, extension),
soulBoundNameData.identityId
);
}
Expand Down Expand Up @@ -153,7 +153,7 @@ contract SoulBoundName is
bytes memory dataURI = abi.encodePacked(
"{",
'"name": "',
soulBoundNameData.name,
string.concat(soulBoundNameData.name, extension),
'", ',
'"description": "This is a SoulBoundName',
'", ',
Expand Down

0 comments on commit 3f73fb5

Please sign in to comment.