Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
austinkline committed Aug 20, 2024
1 parent e228a7c commit 56d279f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CLI_SCRIPTS.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Flow CLI ready to paste scripts for Flowty Wrapper transactions and scripts
Flow CLI ready to paste scripts for Flowty Wrapped transactions and scripts

1 - Create new emulator account
(if you already made this step before but restarted emulator, remove emulator-1 object from flow.json)
Expand Down
4 changes: 2 additions & 2 deletions contracts/WrappedEditions.cdc
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ access(all) contract WrappedEditions {
return MetadataViews.Traits(traits)
}

init(_ username: String?, _ tickets: Int, totalNftsOwned: Int, floatCount: Int, favoriteCollections: [String], collections: [String]) {
init(_ username: String?, _ tickets: Int, _ totalNftsOwned: Int, _ floatCount: Int, _ favoriteCollections: [String], _ collections: [String]) {
self.username = username
self.tickets = tickets
self.totalNftsOwned = totalNftsOwned
Expand All @@ -47,7 +47,7 @@ access(all) contract WrappedEditions {
access(all) let mintedAddresses: {Address: Bool}

access(all) fun resolveView(_ t: Type, _ nft: &FlowtyWrapped.NFT): AnyStruct? {
let wrapped = nft.data["wrapped"]! as! Wrapped2023Data
let wrapped = nft.data["wrapped"]! as! &Wrapped2023Data
switch t {
case Type<MetadataViews.Display>():
return MetadataViews.Display(
Expand Down

0 comments on commit 56d279f

Please sign in to comment.