BIP 58: Loans bugfix related to closing positions

We noticed a few days back that sometimes when a users closes a position after the interest update it could due to rounding error have 1 decimal of debt remaining. Preventing a full withdrawal of collateral.

This update fixes this issue and prevents it from happening further.

This topic was automatically closed after 2 minutes. New replies are no longer allowed.