Whoops! 😨 Something unexpected happened...
[Error Code: 1101] error caused by: 1 error occurred:
* transaction execute failed: [Error Code: 1101] cadence runtime error: Execution failed:
--> 8abf9a8edf7dd8f5407d240280ab17532580464f477754ff056c325c9d049e5b: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 | )
| ^