Permalink
Please sign in to comment.
Browse files
SampleOffer: fix withdraw negative amount issue
This fixes the issue #171. Instread of remembering how much was payed out, it is remembered when the last payout was. Type type of withdraw limits has been also changed to uint128 to avoid overflow calculating the amount for the withdraw.
- Loading branch information...
Showing
with
26 additions
and 14 deletions.
- +2 −2 SampleOffer.sol
- +24 −12 SampleOfferWithoutReward.sol
4
SampleOffer.sol
36
SampleOfferWithoutReward.sol
0 comments on commit
c7aa328