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: allow claims to be collected whenever there are claimable reward… #151

Merged
merged 1 commit into from
Feb 26, 2021

Conversation

philipstanislaus
Copy link
Contributor

…s on the last link, improve debug box

@@ -228,31 +238,69 @@ const UserRewards: React.FC<Props> = ({ tinlake }: Props) => {

export default UserRewards

const days = 24 * 60 * 60
const day = 24 * 60 * 60
const minNonZeroDays = 61
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the 60 days should be put in an env var or if possible, retrieved from the subgraph. Since it looks like it will change to 30 days soon.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point, I created #152 for that. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants