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
--> 6ea7eeddf3e79e47299f0b7eec94216b4cc882a42ea55df6548826b40d17efb9:13:31
|
13 | let tokensWithdrawn <- payerVaultRef.withdraw(amount: startingBalance)
| ^^^^^^^^^^^^^^^^^^^^^^