fix using only_owner
This commit is contained in:
parent
ead79cd77f
commit
2484f9c72b
|
@ -162,6 +162,8 @@ __embarkENS.setProvider = function (config) {
|
|||
self.registration = config.registration;
|
||||
self.env = config.env;
|
||||
EmbarkJS.onReady(() => {
|
||||
self.registration = config.registration;
|
||||
|
||||
web3.eth.net.getId()
|
||||
.then((id) => {
|
||||
const registryAddress = self.registryAddresses[id] || config.registryAddress;
|
||||
|
|
Loading…
Reference in New Issue