Skip to content

Commit

Permalink
Made fallback function 'external payable' as required by Solidity0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
V1rtuousCycle committed Dec 11, 2018
1 parent f2163f9 commit 4c01b6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/WETH9.sol
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ contract WETH9 {
mapping (address => uint) public balanceOf;
mapping (address => mapping (address => uint)) public allowance;

function() public payable {
function() external payable {
deposit();
}
function deposit() public payable {
Expand Down

0 comments on commit 4c01b6d

Please sign in to comment.