Whoops! 😨 Something unexpected happened...
[Error Code: 1101] error caused by: 1 error occurred:
* transaction execute failed: [Error Code: 1101] cadence runtime error: Execution failed:
--> b6baaa8610868091b169c844631038f804e340811966488616fee04b3f9cf271:115:8
|
115 | self.pool.buyTokens(self.ins, amount, recipient: self.recipient)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: assertion failed: Insufficient payment: The total cost is greater than the available Flow tokens
--> 0e11cd1707e0843b.FixesTradablePool:1118:12
|
1118 | assert(
1119 | totalCost <= flowPaymentVault.balance,
1120 | message: "Insufficient payment: The total cost is greater than the available Flow tokens"
1121 | )
| ^