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: --> fc5b1472effd92d056dc54e1cf385c3292d161747b7a4ef1ec329d605579105e: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