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