Skip to content

Commit

Permalink
Add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
OGPoyraz committed Dec 18, 2024
1 parent 143deb9 commit 825c14a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ui/selectors/selectors.js
Original file line number Diff line number Diff line change
Expand Up @@ -733,6 +733,7 @@ export function getAddressBook(state) {
export function getEnsResolutionByAddress(state, address) {
if (state.metamask.ensResolutionsByAddress[address]) {
const ensResolution = state.metamask.ensResolutionsByAddress[address];
// ensResolution is a punycode encoded string hence toUnicode is used to decode it from same package
const normalizedEnsResolution = toUnicode(ensResolution);
return normalizedEnsResolution;
}
Expand Down

0 comments on commit 825c14a

Please sign in to comment.