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: --> 1023a68cc24ec6100f42034f20ed79feec9e959fdbec841850a8daccc64dd767:17:8 | 17 | 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:
581525fa93d8fe4b334c179698c6e72baccb802593e55e40da61d24e589d85be
delegatorID:
345
amount:
13071.69855572
Loading...