Skip to content

Commit 16ba715

Browse files
committed
Make fallback functions external.
1 parent 84cba79 commit 16ba715

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

test/DAO/DAO.sol

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ contract DAOInterface {
177177
// );
178178

179179
/// @notice Create Token with `msg.sender` as the beneficiary
180-
function ();
180+
function () external;
181181

182182

183183
/// @dev This function is used to send ether back
@@ -392,7 +392,7 @@ contract DAO is DAOInterface, Token, TokenCreation {
392392
allowedRecipients[curator] = true;
393393
}
394394

395-
function () {
395+
function () external {
396396
if (now < closingTime + creationGracePeriod && msg.sender != address(extraBalance))
397397
createTokenProxy(msg.sender);
398398
else

test/DAO/ManagedAccount.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ contract ManagedAccount is ManagedAccountInterface{
5050
// When the contract receives a transaction without data this is called.
5151
// It counts the amount of ether it receives and stores it in
5252
// accumulatedInput.
53-
function() {
53+
function() external {
5454
accumulatedInput += msg.value;
5555
}
5656

0 commit comments

Comments
 (0)