Skip to content

Commit

Permalink
fix: staking payouts change claimed value
Browse files Browse the repository at this point in the history
  • Loading branch information
Imod7 committed Apr 18, 2024
1 parent 3ed7cbe commit a6c9fda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/accounts/AccountsStakingPayoutsService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ export class AccountsStakingPayoutsService extends AbstractService {
if (lastReward.isSome) {
indexOfEra = (validatorLedger as unknown as StakingLedgerTo240).lastReward.unwrap().toNumber();
} else {
continue;
indexOfEra = -1;
}
} else if (eraIndex.toNumber() < 518 && isKusama) {
indexOfEra = eraIndex.toNumber();
Expand Down

0 comments on commit a6c9fda

Please sign in to comment.