Skip to content

Commit

Permalink
fix deploy error bug ensdomains#362
Browse files Browse the repository at this point in the history
  • Loading branch information
xiawu committed Aug 4, 2020
1 parent 2a6785c commit 5bd6467
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion migrations/2_deploy_contracts.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const FIFSRegistrar = artifacts.require('./FIFSRegistrar.sol');
// TODO: align the contract name with the source code file name.
const Registrar = artifacts.require('./HashRegistrar.sol');
const web3 = new (require('web3'))();
const namehash = require('eth-ens-namehash');
const namehash = require('eth-ens-namehash').hash;

/**
* Calculate root node hashes given the top level domain(tld)
Expand Down

0 comments on commit 5bd6467

Please sign in to comment.