From ff0f41747c05f1598973b0fe7ad0d9e09565dfcd Mon Sep 17 00:00:00 2001 From: Mike Carson Date: Wed, 27 Jan 2021 17:59:06 -0500 Subject: [PATCH] fix to use namehash hash method (#373) --- migrations/2_deploy_contracts.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) }; }