Skip to content

Commit

Permalink
forgot return
Browse files Browse the repository at this point in the history
  • Loading branch information
guibescos committed Oct 9, 2024
1 parent 46d0e71 commit b59d5da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion governance/pyth_staking_sdk/src/pyth-staking-client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -701,7 +701,7 @@ export class PythStakingClient {

// Filter out delegationRecord that are up to date
const filteredPublishers = publishers.filter((_, index) => {
!(delegationRecords[index]?.lastEpoch === currentEpoch);
return !(delegationRecords[index]?.lastEpoch === currentEpoch);
});

// anchor does not calculate the correct pda for other programs
Expand Down

0 comments on commit b59d5da

Please sign in to comment.