Flow price: --
1e0c5779351a475e02de80353c5a30adf69f490b4f45caccf819939ae9c2d5dd

Transaction

Hash: 1e0c5779351a475e02de80353c5a30adf69f490b4f45caccf819939ae9c2d5dd
error
Error

Whoops! 😨 Something unexpected happened...

[Error Code: 1101] error caused by: 1 error occurred:
	* transaction execute failed: [Error Code: 1101] cadence runtime error: Execution failed:
  --> 1e0c5779351a475e02de80353c5a30adf69f490b4f45caccf819939ae9c2d5dd:18:8
   |
18 |         self.stakingCollectionRef.requestUnstaking(nodeID: nodeID, delegatorID: delegatorID, amount: amount)
   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

   --> 8d0e87b65159ae63.FlowStakingCollection:864:20
    |
864 |                     delegator.requestUnstaking(amount: amount)
    |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: assertion failed: Not enough tokens to unstake!
   --> 8624b52f9ddcd04a.FlowIDTableStaking:727:12
    |
727 |             assert (
728 |                 delRecord.tokensStaked.balance +
729 |                 delRecord.tokensCommitted.balance
730 |                 >= amount + delRecord.tokensRequestedToUnstake,
731 |                 message: "Not enough tokens to unstake!"
732 |             )
    |             ^


Hash:
1e0c5779351a475e02de80353c5a30adf69f490b4f45caccf819939ae9c2d5dd
Status:
ERROR
Block height:
95976176
Block id:
b2fed50b19aaf7bd3dae1fe6e7546e165a816f9f456ebcc69027d0e8ff737dab
Timestamp:
Friday 6 December 2024 at 15:27:37 UTC
()
Proposer:
Authorizers:
Gas used:
20