FlowF
Flow2y ago
joshua

joshua | Flow (2024-04-18)

Anyone know what these error mean when migrating the
LockedTokens
and
FlowStakingCollection
contracts?
error: expected token '&'
  --> 95e019a17d0e23d7.LockedTokens:94:46
   |
94 |         access(all) var vault: Capability<auth(FungibleToken.Withdraw) &FlowToken.Vault>
   |  

error: unexpected identifier
  --> 95e019a17d0e23d7.FlowStakingCollection:43:13
   |
43 |         view init(nodeID: String, delegatorID: UInt32) {
   |   
Was this page helpful?