From 3acc2b4216394d4d66b717f40891e64a99aed8c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20Venturo?= Date: Mon, 8 Oct 2018 20:01:35 -0300 Subject: [PATCH] Added a constructor to BreakInvariantBounty. (#1395) --- contracts/bounties/BreakInvariantBounty.sol | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/contracts/bounties/BreakInvariantBounty.sol b/contracts/bounties/BreakInvariantBounty.sol index 52077a539..6dec45a3b 100644 --- a/contracts/bounties/BreakInvariantBounty.sol +++ b/contracts/bounties/BreakInvariantBounty.sol @@ -8,12 +8,16 @@ import "../ownership/Ownable.sol"; * @dev This bounty will pay out to a researcher if they break invariant logic of the contract. */ contract BreakInvariantBounty is PullPayment, Ownable { - bool private _claimable = true; + bool private _claimable; mapping(address => address) private _researchers; event TargetCreated(address createdAddress); event BountyCanceled(); + constructor() public { + _claimable = true; + } + /** * @dev Fallback function allowing the contract to receive funds, if they haven't already been claimed. */