Use namehash from ethers.utils

no need for the additional dependency
This commit is contained in:
2019-04-03 10:16:44 +02:00
parent f40cc1d8ff
commit 9984ca66ba
4 changed files with 6 additions and 4 deletions

View File

@@ -1,4 +1,4 @@
const namehash = require('eth-ens-namehash').hash;
const namehash = require('ethers').utils.namehash;
const Base = require('./base');
const KERNEL_APP_ADDR_NAMESPACE = '0xd6f028ca0e8edb4a8c9757ca4fdccab25fa1e0317da1188108f7d2dee14902fb';