Skip to content

Commit

Permalink
fix: claim all across accounts (#795)
Browse files Browse the repository at this point in the history
  • Loading branch information
AbstractFruitFactory authored Oct 30, 2023
1 parent a759252 commit bddfffa
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@
$: accumulatedClaims = readyToClaim.reduce((acc, claim) => {
const existingClaimIndex = acc.findIndex(
(c) => c.validator.address === claim.validator.address
(c) =>
c.validator.address === claim.validator.address &&
c.account === claim.account
)
if (existingClaimIndex >= 0) {
Expand Down

0 comments on commit bddfffa

Please sign in to comment.