Whoops! 😨 Something unexpected happened...
[Error Code: 1101] error caused by: 1 error occurred:
* transaction execute failed: [Error Code: 1101] cadence runtime error: Execution failed:
--> 4e17399d97b9859d574f964201db1d13b1feab4245373334a3e790c94c5f4ed9:17:8
|
17 | self.stakingCollectionRef.withdrawRewardedTokens(nodeID: nodeID, delegatorID: delegatorID, amount: amount)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
--> 8d0e87b65159ae63.FlowStakingCollection:784:34
|
784 | let tokens <- delegator.withdrawRewardedTokens(amount: amount)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: pre-condition failed: Amount withdrawn must be less than or equal than the balance of the Vault
--> f233dcee88fe0abe.FungibleToken:198:16