associate address to contract

This commit is contained in:
Iuri Matias 2018-05-18 22:51:58 -04:00 committed by Jonathan Rainville
parent 2ac38fb84a
commit 0fcf508e17

View File

@ -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());