mirror of https://github.com/embarklabs/embark.git
Merge pull request #792 from embark-framework/feature/ens-configured-only-once
Ens config is run only once
This commit is contained in:
commit
2a41c7c310
|
@ -28,7 +28,7 @@ class ENS {
|
||||||
}
|
}
|
||||||
|
|
||||||
registerEvents() {
|
registerEvents() {
|
||||||
this.embark.registerActionForEvent("contracts:deploy:afterAll", this.setProviderAndRegisterDomains.bind(this));
|
this.events.once("contracts:deploy:afterAll", this.setProviderAndRegisterDomains.bind(this));
|
||||||
|
|
||||||
this.events.setCommandHandler("storage:ens:associate", this.associateStorageToEns.bind(this));
|
this.events.setCommandHandler("storage:ens:associate", this.associateStorageToEns.bind(this));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue