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: rewards passing for claim #NTRN-243 #87

Merged
merged 2 commits into from
Mar 29, 2024

Conversation

sotnikov-s
Copy link
Contributor

task:

https://hadronlabs.atlassian.net/browse/NTRN-243

this PR:

  • removes incorrect usage of PendingRewards query and adds reward token infos passing instead

@sotnikov-s
Copy link
Contributor Author

@@ -658,6 +664,7 @@ pub fn callback_withdraw_user_rewards_for_lockup_optional_withdraw(
user_address: Addr,
duration: u64,
withdraw_lp_stake: bool,
reward_tokens: Vec<AssetInfo>,

Choose a reason for hiding this comment

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

There is a detailed comment describing parameters just above this function. It would make sense to add reward_tokens there, too.

@sotnikov-s sotnikov-s merged commit 13aa3b5 into feat/pcl-lp-migration Mar 29, 2024
7 checks passed
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.

3 participants