-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
Hello,
I've started looking at exchangeLight.sol. I see that in receiveToken(...) there is a check that the Ether balance of the receiver is less than 0.2 ETC. What is the point? If I really wanted, I could create automated scripts which would empty Ether from the account every time before transferring the COR to the exchange?
Another thing:
uint256 _amount = amount;
if ( _max > _amount ) {
_amount = _max;
}
will always make sure that _amount is more or equals to amount (and _max).
Then this will result in negative value:
return ( true, safeSub(amount, _amount) );
Metadata
Metadata
Assignees
Labels
No labels