From e988bd6b4a61a8e063c6fc3a4c75a5a9c5a183e6 Mon Sep 17 00:00:00 2001 From: Iuri Matias Date: Mon, 28 May 2018 11:10:20 -0400 Subject: [PATCH] use import instead of require --- lib/modules/ens/embarkjs.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/modules/ens/embarkjs.js b/lib/modules/ens/embarkjs.js index 0c6b08be..7034fbac 100644 --- a/lib/modules/ens/embarkjs.js +++ b/lib/modules/ens/embarkjs.js @@ -1,4 +1,5 @@ -const namehash = require('eth-ens-namehash'); +import namehash from 'eth-ens-namehash'; + /*global web3*/ let __embarkENS = {};