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: --> f935290dccc5b0816a9871b86f6c731e41c02b29d74c97a0254aad815e622d9d:16:12 | 16 | 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:
286
amount:
102