You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If for the same era there are multiple claimable payouts for the same user and the first one has been claimed, the next one won't be shown in the modal.
Hey,
If for the same era there are multiple claimable payouts for the same user and the first one has been claimed, the next one won't be shown in the modal.
The issue comes from this piece of code : https://github.com/polkadot-cloud/polkadot-staking-dashboard/blob/main/src/contexts/Payouts/index.tsx#L253-L303
Especially in this line, even if the first unclaimed payout is zero,
j
should be incremented and the next validator should be checked.Hopefully I understood the code correctly, I can also open a PR if necessary.
Don't hesitate if you need more info.
The text was updated successfully, but these errors were encountered: