Whoops! 😨 Something unexpected happened...
[Error Code: 1101] error caused by: 1 error occurred:
* transaction execute failed: [Error Code: 1101] cadence runtime error: Execution failed:
--> ce9e8c9194c7b32e7f060972a7ef1f69fb60454b3bcdd3e30a4db36a5eeb3fa1:33:41
|
33 | tokenReceiverRef.deposit(from: <-poolAdmin.withdrawReserves(reduceAmount: UFix64.max))
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: assertion failed: [IncErrorMsg:insufficient pool liquidity to withdraw reserve][IncErrorCode:10]
--> 67539e86cbe9b261.LendingPool:1173:12
|
1173 | assert(reduceAmountScaled <= LendingPool.getPoolCash(), message:
1174 | LendingError.ErrorEncode(
1175 | msg: "insufficient pool liquidity to withdraw reserve",
1176 | err: LendingError.ErrorCode.INSUFFICIENT_POOL_LIQUIDITY
1177 | )
1178 | )
| ^