mirror of https://github.com/embarklabs/embark.git
only enabble register in dev
This commit is contained in:
parent
4f1043910d
commit
972ebe07cd
|
@ -164,6 +164,7 @@ __embarkENS.setProvider = function (config) {
|
||||||
EmbarkJS.onReady(() => {
|
EmbarkJS.onReady(() => {
|
||||||
self.registration = config.registration;
|
self.registration = config.registration;
|
||||||
|
|
||||||
|
EmbarkJS.onReady(() => {
|
||||||
web3.eth.net.getId()
|
web3.eth.net.getId()
|
||||||
.then((id) => {
|
.then((id) => {
|
||||||
const registryAddress = self.registryAddresses[id] || config.registryAddress;
|
const registryAddress = self.registryAddresses[id] || config.registryAddress;
|
||||||
|
|
Loading…
Reference in New Issue