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 1b09a30646
commit ef69fedb8b
3 changed files with 8 additions and 3 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';