Whoops! 😨 Something unexpected happened...
[Error Code: 1101] error caused by: 1 error occurred:
* transaction invocation failed when executing transaction: [Error Code: 1101] cadence runtime error: Execution failed:
error: underflow
--> 4ee8a5c1d25d3c1d2373be873449c897a04de1720876ed76a74b6d09fb57361a:18:8
|
18 | let f1 = fee * I1B2sqr / scale * I2B1sqr / scale - I1B2;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^