Skip to content

Commit ff0f417

Browse files
authored
fix to use namehash hash method (ensdomains#373)
1 parent 1d52240 commit ff0f417

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

migrations/2_deploy_contracts.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const namehash = require('eth-ens-namehash');
1515
*/
1616
function getRootNodeFromTLD(tld) {
1717
return {
18-
namehash: namehash(tld),
18+
namehash: namehash.hash(tld),
1919
sha3: web3.sha3(tld)
2020
};
2121
}

0 commit comments

Comments
 (0)