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
--> 29b079213630645ca5efb33e42175f32c369513a7c63bbe064fca3cd8bbcce2b:15:21
|
15 | self.xfer <- vault.withdraw(amount: amount)
| ^^^^^^^^^^^^^^