Skip to content

Commit

Permalink
update makeCommitmentTuple to accept uppercase and lowercase "ETH"
Browse files Browse the repository at this point in the history
  • Loading branch information
storywithoutend committed Jan 28, 2024
1 parent 2141c8a commit 351ea14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ensjs/src/utils/registerHelpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ export const makeCommitmentTuple = ({
reverseRecord &&
!coins.find(
(c) =>
c.coin === 'ETH' ||
(typeof c.coin === 'string' && c.coin.toLowerCase() === 'eth') ||
(typeof c.coin === 'string' ? parseInt(c.coin) === 60 : c.coin === 60),
)
) {
Expand Down

0 comments on commit 351ea14

Please sign in to comment.