Whoops! 😨 Something unexpected happened...
[Error Code: 1101] cadence runtime error Execution failed:
error: mismatched types
--> d7e4be657d4d0acd94ebe47762aa588e71deae627b3137e929f5e14c7d8d01ed:21:21
|
21 | signer.unlink( /storage/fairyPuppyCollection)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `CapabilityPath`, got `StoragePath`
error: mismatched types
--> d7e4be657d4d0acd94ebe47762aa588e71deae627b3137e929f5e14c7d8d01ed:23:9
|
23 | /storage/fairyPuppyCollection,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `CapabilityPath`, got `StoragePath`
error: mismatched types
--> d7e4be657d4d0acd94ebe47762aa588e71deae627b3137e929f5e14c7d8d01ed:28:100
|
28 | let receiver = signer.getCapability<&FairyPuppy.Collection{NonFungibleToken.CollectionPublic}>( /storage/fairyPuppyCollection)!
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `CapabilityPath`, got `StoragePath`