Safehaven-io / ThorBlock

Pooling Service on the Vechain Enterprise blockchain usable for Charity, Crowdfunding and ICO funding/pooling
2 stars 0 forks source link

Contribute to pool - can contribute less than the minimum #4

Closed alpa-coder closed 6 years ago

alpa-coder commented 6 years ago

It is possible to contribute to the pool (from the frontend) less than the pool minimum: image

wijzijnwolf commented 6 years ago

fixed on serverside (php) and clientside (js)

will set minimum to either the min per contributor threshold OR remaining pool allocation (if its less)

Please test this thoroughly on different browsers though (paying special attention to decimals/thousands)