Change visibility of fallbacks to external

This commit is contained in:
Alejandro Santander
2017-11-23 12:28:46 -03:00
parent c6e0edb268
commit bb1736e376
3 changed files with 3 additions and 3 deletions

View File

@ -18,7 +18,7 @@ contract Bounty is PullPayment, Destructible {
/**
* @dev Fallback function allowing the contract to receive funds, if they haven't already been claimed.
*/
function() public payable {
function() external payable {
require(!claimed);
}