0x00000002 / rootcore

Apache License 2.0
0 stars 1 forks source link

fallback function cannot go after private function #13

Open gabriel-canaan opened 6 years ago

gabriel-canaan commented 6 years ago

rootcore/blob/master/contracts/CrowdsaleController.sol Line 253

 function() payable {
        contributeETH();
    }
gabriel-canaan commented 6 years ago

Functions should be grouped according to their visibility and ordered: constructor, fallback function (if exists), external, public, internal, private For better code readability.