Fix: duration of pools can be the max duration for perpetual and non-perpetual pools
Alexangelj opened this issue · comments
Alexander commented
Description
A perpetual pool has a constant duration of 500. A non-perpetual pool can be created with a duration of 500. This can lead to some confusion
Clément Lakhal commented
TODO:
- Remove the
isPerpetual
bool and store the max value of the duration variable instead.
Clément Lakhal commented
PR was merged.