Skip to content

Commit

Permalink
fix to use namehash hash method (ensdomains#373)
Browse files Browse the repository at this point in the history
  • Loading branch information
ca98am79 authored Jan 27, 2021
1 parent 1d52240 commit ff0f417
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion migrations/2_deploy_contracts.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const namehash = require('eth-ens-namehash');
*/
function getRootNodeFromTLD(tld) {
return {
namehash: namehash(tld),
namehash: namehash.hash(tld),
sha3: web3.sha3(tld)
};
}
Expand Down

0 comments on commit ff0f417

Please sign in to comment.