Whoops! 😨 Something unexpected happened...
[Error Code: 1101] error caused by: 1 error occurred:
* transaction execute failed: [Error Code: 1101] cadence runtime error: Execution failed:
--> 42f52ff65da599a6e50e7382f82604acfeeef25d6ccb3c3881ad7de77cb703c7:22:25
|
22 | let leftVault <- LendingPool.liquidate(
23 | liquidator: self.liquidatorAddr,
24 | borrower: borrower,
25 | poolCollateralizedToSeize: seizePoolAddr,
26 | repayUnderlyingVault: <-inUnderlyingVault
27 | )
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: assertion failed: [IncErrorMsg:liquidator repaid more than closeFactor x accountBorrow][IncErrorCode:24]
--> 7492e2f9b4acea9a.LendingPool:590:8
|
590 | assert(err == nil, message: err ?? "")
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^