Skip to content
This repository has been archived by the owner on Dec 30, 2024. It is now read-only.

For security, when a donation surpasses the MaximumFunding no ether is kept #10

Open
GriffGreen opened this issue Oct 25, 2016 · 0 comments

Comments

@GriffGreen
Copy link
Member

In TokenCreator.sol we have
if ((...) || (totalCollected + msg.value > maximumFunding)) {
throw;
}
This is a security precaution to avoid putting a send function in the contract. eventually this will be changed so that the amount above the MaximumFunding will be sent back to the user and the rest will be kept... but for now, Security is more important than that functionality

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant