Open gabriel-canaan opened 6 years ago
rootcore/blob/master/contracts/CrowdsaleController.so LIne 244
totalEtherContributed = safeAdd(totalEtherContributed, msg.value); // update the total contribution amount
It is recommended to avoid state changes after transfers as even if an ExternalContract is not malicious, malicious code can be executed by any contracts it calls.
rootcore/blob/master/contracts/CrowdsaleController.so LIne 244