Whoops! 😨 Something unexpected happened...
[Error Code: 1101] error caused by: 1 error occurred:
* transaction execute failed: [Error Code: 1101] cadence runtime error: Execution failed:
--> 1c701233cb8e52d4e8e76249062af865eda6a8b0f3a5ac77ec6b01da5ab32d74:13:8
|
13 | self.stakingCollectionRef.stakeNewTokens(nodeID: nodeID, delegatorID: delegatorID, amount: amount)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
--> 95e019a17d0e23d7.FlowStakingCollection:630:57
|
630 | delegator.delegateNewTokens(from: <- self.getTokens(amount: amount))
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: assertion failed: Insufficient total Flow balance
--> 95e019a17d0e23d7.FlowStakingCollection:222:16
|
222 | assert(
223 | amount <= unlockedBalance,
224 | message: "Insufficient total Flow balance"
225 | )
| ^