From c5f1e4d6171663bfff10ec5528144c311cc54b35 Mon Sep 17 00:00:00 2001 From: Mike Carson Date: Wed, 27 Jan 2021 10:06:47 -0500 Subject: [PATCH] fix to use namehash hash method --- 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) }; }