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
--> aeb959de3feb01e4c86f884d79eb1ec512d49a7c01dd2f6852466323291cae79:147:32
|
147 | self.pool.sellTokens(<- self.provider.withdraw(amount: amount), recipient: self.recipient)
| ^^^^^^^^^^^^^^^^^^^^^^