Merge branch 'feature/contribution-improvements' of https://github.com/ConsenSys/StandardBounties into feature/contribution-improvements

This commit is contained in:
mbeylin 2017-05-31 14:31:16 -04:00
commit af0e95f5bf
2 changed files with 3 additions and 5 deletions

View File

@ -33,13 +33,12 @@ contract CodeBugBountyFactory is Factory {
_fulfillmentAmount,
_bountiedContract
);
require (bugBounty!= 0x0);
require (bugBounty != 0x0);
register(bugBounty);
}
/// @dev Registers contract in factory registry.
/// @param instantiation Address of contract instantiation.
function register(address instantiation)
{
function register(address instantiation) {
instances.push(instantiation);
isInstantiation[instantiation] = true;
instantiations[msg.sender].push(instantiation);

View File

@ -24,8 +24,7 @@ contract Factory {
/// @dev Registers contract in factory registry.
/// @param instantiation Address of contract instantiation.
function register(address instantiation)
{
function register(address instantiation) {
isInstantiation[instantiation] = true;
instantiations[msg.sender].push(instantiation);
ContractInstantiation(msg.sender, instantiation);