mirror of
https://github.com/embarklabs/embark.git
synced 2025-02-16 23:57:11 +00:00
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() {
|
||||
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));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user