Merge pull request #546 from embark-framework/fix_contract_tracking_issue

fix contract tracking issue
This commit is contained in:
Iuri Matias 2018-06-18 11:38:16 -04:00 committed by GitHub
commit a0a2d16cb3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ class DeployTracker {
this.events.on("deploy:beforeAll", this.setCurrentChain.bind(this)); this.events.on("deploy:beforeAll", this.setCurrentChain.bind(this));
this.events.on("deploy:contract:deployed", (contract) => { this.events.on("deploy:contract:deployed", (contract) => {
self.trackContract(contract.className, contract.realRuntimeBytecode, contract.realArgs, contract.address); self.trackContract(contract.className, contract.realRuntimeBytecode, contract.realArgs, contract.deployedAddress);
self.save(); self.save();
}); });