gzeon
When owner call cancelPromotion, the contract
If there are token left for previous epochs, they will be stuck in the contract as the promotion struct is gone.
Set numberOfEpochs instead, i.e.
_promotions[_promotionId].numberOfEpochs = _getCurrentEpochId(_promotion)+1;
The text was updated successfully, but these errors were encountered:
All reactions