Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: redemption duration cannot be 0 for offers with no expiration date #1022

Conversation

albertfolch-redeemeum
Copy link
Contributor

@albertfolch-redeemeum albertfolch-redeemeum commented Feb 20, 2024

offers with no expiration date should always have a redemption duration of at least 1

image

this validation was already implemented in core components but not in the dapp

fixes: #1023

@albertfolch-redeemeum albertfolch-redeemeum requested a review from a team as a code owner February 20, 2024 07:33
Copy link

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: 4f783ff
Status: ✅  Deploy successful!
Preview URL: https://7d3e91ee.interface-a9d.pages.dev
Branch Preview URL: https://fix-redemption-duration-cann.interface-a9d.pages.dev

View logs

@albertfolch-redeemeum albertfolch-redeemeum merged commit 1008302 into main Feb 20, 2024
10 checks passed
@albertfolch-redeemeum albertfolch-redeemeum deleted the fix-redemption-duration-cannot-be-0-for-infinite-offers branch February 20, 2024 09:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants