Skip to content

Commit

Permalink
Fixing misnamed field in PerformanceSample return type (#3202)
Browse files Browse the repository at this point in the history
* Fixing misnamed field in type PerformanceSample type

* Changeset
  • Loading branch information
disco-infinex authored Sep 6, 2024
1 parent 02cefa7 commit bf07a60
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/plenty-eyes-kick.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@solana/rpc-api': patch
---

PerformanceSample return type field numNonVoteTransaction corrected to numNonVoteTransactions
2 changes: 1 addition & 1 deletion packages/rpc-api/src/getRecentPerformanceSamples.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import type { Slot, U64UnsafeBeyond2Pow53Minus1 } from '@solana/rpc-types';

type PerformanceSample = Readonly<{
/** Number of non-vote transactions in sample. */
numNonVoteTransaction: U64UnsafeBeyond2Pow53Minus1;
numNonVoteTransactions: U64UnsafeBeyond2Pow53Minus1;
/** Number of slots in sample */
numSlots: U64UnsafeBeyond2Pow53Minus1;
/** Number of transactions in sample */
Expand Down

0 comments on commit bf07a60

Please sign in to comment.