You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can't see a reason that contract's token balance would need to be checked in order to allow a withdrawal, and I can think of some problem's it might cause.
The text was updated successfully, but these errors were encountered:
maurelian
changed the title
unrelated require guard on WithdrawOwnerEth()
Superfluous require guard on WithdrawOwnerEth()
Feb 25, 2018
What is it?
CrowdSaleLib makes a check on the token balance, to determine eligibility to withdraw Ether.
https://github.com/Modular-Network/ethereum-libraries/blob/audits/CrowdsaleLib/IICOLib/truffle/contracts/CrowdsaleLib.sol#L204
Problem
I can't see a reason that contract's token balance would need to be checked in order to allow a withdrawal, and I can think of some problem's it might cause.
The text was updated successfully, but these errors were encountered: