onflow / kitty-items

Kitty Items: CryptoKitties Sample App
https://kitty-items.onflow.org
Apache License 2.0
409 stars 214 forks source link

Expired listings show up on storefront and cannot be purchased #310

Open codingone21 opened 1 year ago

codingone21 commented 1 year ago

Describe the bug expiry is a new field introduced with NFTStorefrontV2. After a certain amount of time, users cannot purchase these listings, and they will run into a cadence error.

To Reproduce Steps to reproduce the behavior: Mint an item, wait 1.5hrs, try purchasing it. Or, try purchasing any items previously minted, as they are probably already expired as well.

Expected behavior We shouldn't show expired listings as available to purchase