add return factoried contract address + add emit keyword

This commit is contained in:
Ricardo Guilherme Schmidt 2018-04-19 05:33:04 -03:00
parent a94156dd2f
commit 706941acb0
1 changed files with 1 additions and 1 deletions

View File

@ -85,6 +85,6 @@ contract Factory is Controlled {
versionLog.push(Version({blockNumber: block.number, timestamp: block.timestamp, kernel: _kernel, codeHash: _codeHash}));
latestUpdate = block.timestamp;
latestKernel = _kernel;
NewKernel(_kernel, _codeHash);
emit NewKernel(_kernel, _codeHash);
}
}