script3 / yieldblox-beta

15 stars 5 forks source link

The probelm of Repay #292

Closed jakathei closed 3 years ago

jakathei commented 3 years ago

When I making Repay instead of deducting from Borrowed and Lent.which in the end only deducted from the lent.Make to Health factor reduced. Before I repay beforre repay

Repay with ethereum

repay

After Repay

after repay

That is, I have paid the debt but the debt is not reduced

mootz12 commented 3 years ago

Can you check if your specific borrow liability went down that you attempted to repay?

jakathei commented 3 years ago

My borrowed din't change , just my lent change.The Repay transfer to main banlance for deposit

markuspluna commented 3 years ago

I believe this was the repayWithSameAsset bug. It was reported elsewhere and is now fixed