Synthetixio / synthetix-v3

MIT License
114 stars 56 forks source link

Update payDebt with recomputeUtilization #2196

Closed 0xMithrandir closed 1 month ago

0xMithrandir commented 2 months ago

Updates payDebt function with recomputeUtilization becase the amountToBurn increases the creditCapacity of the market.

0xjocke commented 1 month ago

Can you add a test for this too?

0xMithrandir commented 1 month ago

Added the test