Skip to content

Commit 3acc2b4

Browse files
nventuroLeo Arias
authored and
Leo Arias
committed
Added a constructor to BreakInvariantBounty. (OpenZeppelin#1395)
1 parent f7e53d9 commit 3acc2b4

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

contracts/bounties/BreakInvariantBounty.sol

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,16 @@ import "../ownership/Ownable.sol";
88
* @dev This bounty will pay out to a researcher if they break invariant logic of the contract.
99
*/
1010
contract BreakInvariantBounty is PullPayment, Ownable {
11-
bool private _claimable = true;
11+
bool private _claimable;
1212
mapping(address => address) private _researchers;
1313

1414
event TargetCreated(address createdAddress);
1515
event BountyCanceled();
1616

17+
constructor() public {
18+
_claimable = true;
19+
}
20+
1721
/**
1822
* @dev Fallback function allowing the contract to receive funds, if they haven't already been claimed.
1923
*/

0 commit comments

Comments
 (0)