-
Notifications
You must be signed in to change notification settings - Fork 258
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
Earn scene loop handling adjustments #5344
Conversation
5b9dc05
to
3e41fbc
Compare
3e41fbc
to
896cf7a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved with comment
src/plugins/stake-plugins/types.ts
Outdated
|
||
if (wallet != null) { | ||
out = out.filter(policy => [...policy.rewardAssets, ...policy.stakeAssets].some(asset => asset.pluginId === wallet.currencyInfo.pluginId)) | ||
if (pluginId != null) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
wallet
is still part of this StakePolicyFilterType
. Should still support the
original behavior here by extracting the pluginId from the wallet, or else it's
confusing that there's a noop prop on the filter when you call filterStakePolicies
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
} | ||
|
||
return filteredPolicies | ||
return filterStakePolicies(policies, filter) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice
It isn't necessary to slow down use of workflowUtils by calling this method
896cf7a
to
2fa42a9
Compare
CHANGELOG
Does this branch warrant an entry to the CHANGELOG?
Dependencies
noneRequirements
If you have made any visual changes to the GUI. Make sure you have: