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: --> 3017c79e8bb27c1fd22643fefb26f1c2dd25da77577b27d18ed5df06d9213f66:15:8 | 15 | self.stakingCollectionRef.requestUnstaking(nodeID: nodeID, delegatorID: delegatorID, amount: amount) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ --> 8d0e87b65159ae63.FlowStakingCollection:724:20 | 724 | delegator.requestUnstaking(amount: amount) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ --> 8d0e87b65159ae63.LockedTokens:597:12 | 597 | tokenManagerRef.nodeDelegator?.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:
2cfab7e9163475282f67186b06ce6eea7fa0687d25dd9c7a84532f2016bc2e5e
delegatorID:
31513
amount:
27265.38418701
Loading...