Flow price: --
0ce26e2824d6574960e1db7258919d27f54a9c9dd76b3c8e820cc5916c02ac4d

Transaction

Hash: 0ce26e2824d6574960e1db7258919d27f54a9c9dd76b3c8e820cc5916c02ac4d
error
Error

Whoops! 😨 Something unexpected happened...

[Error Code: 1101] error caused by: 1 error occurred:
	* transaction preprocess failed: [Error Code: 1101] cadence runtime error: Execution failed:
error: cannot access `borrow`: function requires `Storage | BorrowValue` authorization, but reference is unauthorized
  --> 0ce26e2824d6574960e1db7258919d27f54a9c9dd76b3c8e820cc5916c02ac4d:13:36
   |
13 |         self.stakingCollectionRef = account.storage.borrow<&FlowStakingCollection.StakingCollection>(from: FlowStakingCollection.StakingCollectionStoragePath)
   |                                     ^^^^^^^^^^^^^^^^^^^^^^

error: cannot access `registerDelegator`: function requires `CollectionOwner` authorization, but reference is unauthorized
  --> 0ce26e2824d6574960e1db7258919d27f54a9c9dd76b3c8e820cc5916c02ac4d:18:8
   |
18 |         self.stakingCollectionRef.registerDelegator(nodeID: id, amount: amount)      
   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^


Loading...
0

Loading...

1

Loading...