Skip to content

Commit

Permalink
Fix typos (#545)
Browse files Browse the repository at this point in the history
* typo fix  test.tsx

* typo ffix claim.rs
  • Loading branch information
Hack666r authored Dec 30, 2024
1 parent 1952368 commit 5fe65f5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion frontend/pages/test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ const Test: NextPage = () => {
<p>
{hasTested ? (
<Description>
Your wallet has already been tested succesfully.
Your wallet has already been tested successfully.
</Description>
) : (
<Description>
Expand Down
2 changes: 1 addition & 1 deletion staking/integration-tests/tests/claim.rs
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ fn test_claim() {
let pool_data: PoolData = fetch_account_data_bytemuck(&mut svm, &pool_data_pubkey);
assert_eq!(pool_data.claimable_rewards, 0);

// duting epoch x + 2, the reward for epoch x + 1 can be claimed
// during epoch x + 2, the reward for epoch x + 1 can be claimed
// y = YIELD, cap = 0.5 PYTH, delegated = 1 PYTH
// reward = cap * YIELD
assert_eq!(custody_data.amount, STAKED_TOKENS + YIELD * 1 / 2);
Expand Down

0 comments on commit 5fe65f5

Please sign in to comment.