Whoops! 😨 Something unexpected happened...
[Error Code: 1101] error caused by: 1 error occurred:
* transaction execute failed: [Error Code: 1101] cadence runtime error: Execution failed:
--> 54b5194dc717169a5028d74d6d4f453a5b3cbaaa012d3d1a3b1230cfa9685a26:113:6
|
113 | self.collectionRef!.registerDelegator(nodeID: self.nodeID, amount: self.amount)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
--> 95e019a17d0e23d7.FlowStakingCollection:571:33
|
571 | let nodeDelegator <- FlowIDTableStaking.registerNewDelegator(nodeID: nodeID, tokensCommitted: <-tokens)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: assertion failed: Tokens committed for delegator registration is not above the minimum (50.00000000)
--> 9eca2b38b18b5dfe.FlowIDTableStaking:1582:8
|
1582 | assert(
1583 | tokensCommitted.balance >= minimum,
1584 | message: "Tokens committed for delegator registration is not above the minimum (".concat(minimum.toString()).concat(")")
1585 | )
| ^