From 5c6e6e50f9e24e3cadaf8b873c78b7b4d0154fdb Mon Sep 17 00:00:00 2001 From: Iuri Matias Date: Mon, 18 Jun 2018 10:22:04 -0400 Subject: [PATCH] use contractAddress instead of address --- lib/modules/deploytracker/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/modules/deploytracker/index.js b/lib/modules/deploytracker/index.js index d6c89560..1d37f531 100644 --- a/lib/modules/deploytracker/index.js +++ b/lib/modules/deploytracker/index.js @@ -20,7 +20,7 @@ class DeployTracker { this.events.on("deploy:beforeAll", this.setCurrentChain.bind(this)); 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(); });