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: --> fe5d3ed6b9845a7340c69b4554ec7885c3dfccf569c8e8b68d23302525e50d4c: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:736:12 | 736 | assert ( 737 | delRecord.tokensStaked.balance + 738 | delRecord.tokensCommitted.balance 739 | >= amount + delRecord.tokensRequestedToUnstake, 740 | message: "Not enough tokens to unstake!" 741 | ) | ^
Arguments:
nodeID:
b09bfbaf2d9e6f6541855dc65b8e0247bd97a0cceb607b9cf89ed368bc16308d
delegatorID:
548
amount:
364.58983722