Whoops! 😨 Something unexpected happened...
[Error Code: 1101] error caused by: 1 error occurred:
* transaction execute failed: [Error Code: 1101] cadence runtime error: Execution failed:
--> c7cf8b5965eb243f9ba0d0fd7a8c9d6eb10f4b80f2e4c2ff94304fee3767e7cc:74:8
|
74 | self.pool.quickSwapToken(
75 | <- self.provider.withdraw(amount: amount),
76 | self.recipient
77 | )
| ^
--> 74ad08095d92192a.FixesTradablePool:1310:12
|
1310 | self._onTransactionDeal(
1311 | seller: isTokenInFlowToken ? pairAddr : traderAddr,
1312 | buyer: isTokenInFlowToken ? traderAddr : pairAddr,
1313 | dealAmount: tradeTokenAmount,
1314 | dealPrice: tradeTokenPrice
1315 | )
| ^
error: assertion failed: The buyer or seller must be the pool address
--> 74ad08095d92192a.FixesTradablePool:1356:12
|
1356 | assert(
1357 | buyer == poolAddr || seller == poolAddr,
1358 | message: "The buyer or seller must be the pool address"
1359 | )
| ^