From 0fcf508e174a0984b64272155654556d7e72f71f Mon Sep 17 00:00:00 2001 From: Iuri Matias Date: Fri, 18 May 2018 22:51:58 -0400 Subject: [PATCH] associate address to contract --- lib/contracts/deploy.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/contracts/deploy.js b/lib/contracts/deploy.js index 03b66a84..93680930 100644 --- a/lib/contracts/deploy.js +++ b/lib/contracts/deploy.js @@ -137,6 +137,7 @@ class Deploy { if (err) { return callback(new Error(err)); } + contract.address = address; self.events.emit("deploy:contract:deployed", contract); self.events.emit('contractsState', self.contractsManager.contractsState());