mirror of https://github.com/embarklabs/embark.git
only enabble register in dev
This commit is contained in:
parent
e95efbfc54
commit
d5b224eee7
|
@ -152,9 +152,8 @@ __embarkENS.setProvider = function (config) {
|
|||
const ERROR_MESSAGE = 'ENS is not available in this chain';
|
||||
self.registration = config.registration;
|
||||
self.env = config.env;
|
||||
EmbarkJS.onReady(() => {
|
||||
self.registration = config.registration;
|
||||
|
||||
EmbarkJS.onReady(() => {
|
||||
web3.eth.net.getId()
|
||||
.then((id) => {
|
||||
const registryAddress = self.registryAddresses[id] || config.registryAddress;
|
||||
|
|
Loading…
Reference in New Issue