Whoops! 😨 Something unexpected happened...
[Error Code: 1101] error caused by: 1 error occurred:
* transaction execute failed: [Error Code: 1101] cadence runtime error: Execution failed:
--> 96274602765536546f854aecef08188343f97e17daad98d3fa31da159c9ae1da:116:6
|
116 | self.collectionRef!.registerDelegator(nodeID: self.nodeID, amount: self.amount)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
--> b6763b4399a888c8.FlowStakingCollection:636:33
|
636 | let nodeDelegator <- FlowIDTableStaking.registerNewDelegator(nodeID: nodeID, tokensCommitted: <-tokens)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: assertion failed: Tokens committed for delegator registration is not above the minimum (50.00000000)
--> b6763b4399a888c8.FlowIDTableStaking:1604:8
|
1604 | assert(
1605 | tokensCommitted.balance >= minimum,
1606 | message: "Tokens committed for delegator registration is not above the minimum (".concat(minimum.toString()).concat(")")
1607 | )
| ^