diff --git a/migrations/2_deploy_contracts.js b/migrations/2_deploy_contracts.js index e9f3b099..94913036 100644 --- a/migrations/2_deploy_contracts.js +++ b/migrations/2_deploy_contracts.js @@ -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) }; }