Merge branch 'feature/contribution-improvements' of https://github.com/ConsenSys/StandardBounties into feature/contribution-improvements
This commit is contained in:
commit
af0e95f5bf
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue