Whoops! 😨 Something unexpected happened...
[Error Code: 1101] error caused by: 1 error occurred:
* transaction preprocess failed: [Error Code: 1101] cadence runtime error: Execution failed:
error: cannot access `withdraw`: function requires `Withdraw` authorization, but reference is unauthorized
--> 4de6e8e8f2f90d9b157e48e9e6006f399ceb4ee65eae90784d1f912a1e683842:147:32
|
147 | self.pool.sellTokens(<- self.provider.withdraw(amount: amount), recipient: self.recipient)
| ^^^^^^^^^^^^^^^^^^^^^^