CODE_ERROR
There is an error in the cadence code of this transaction.
[Error Code: 1101] error caused by: 1 error occurred: * transaction execute failed: [Error Code: 1101] cadence runtime error: Execution failed: --> 8c34bc2461cc752d60b75b50f71fc89e0f7ee83eb8bec4b6b048b44df157dda5:15:8 | 15 | self.stakingCollectionRef.requestUnstaking(nodeID: nodeID, delegatorID: delegatorID, amount: amount) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ --> 8d0e87b65159ae63.FlowStakingCollection:720:20 | 720 | delegator.requestUnstaking(amount: amount) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: assertion failed: Not enough tokens to unstake! --> 8624b52f9ddcd04a.FlowIDTableStaking:731:12 | 731 | assert ( 732 | delRecord.tokensStaked.balance + 733 | delRecord.tokensCommitted.balance 734 | >= amount + delRecord.tokensRequestedToUnstake, 735 | message: "Not enough tokens to unstake!" 736 | ) | ^
Arguments:
nodeID:
3c6519ba8be35e338df7273a895ad3abaeb0c232eb908ee7b05462018c112fe1
delegatorID:
358
amount:
1300