Skip to content

Commit

Permalink
chore: fix spelling issues (#3115)
Browse files Browse the repository at this point in the history
* fix example.ts

* fix example.ts

* fix SECURITY.md
  • Loading branch information
nnsW3 authored Aug 20, 2024
1 parent 41dbc07 commit 2d7f65b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ In case an incident is discovered or reported, the following process will be fol

### 1. Accept the new report

In response a newly reported security problem, a member of the `solana-labs/admins` group will accept the report to turn it into a draft advisory. The `solana-labs/security-incident-response` group should be added to the draft security advisory, and create a private fork of the repository (grey button towards the bottom of the page) if necessary.
In response to a newly reported security problem, a member of the `solana-labs/admins` group will accept the report to turn it into a draft advisory. The `solana-labs/security-incident-response` group should be added to the draft security advisory, and create a private fork of the repository (grey button towards the bottom of the page) if necessary.

If the advisory is the result of an audit finding, follow the same process as above but add the auditor's github user(s) and begin the title with "[Audit]".

Expand Down
2 changes: 1 addition & 1 deletion examples/deserialize-transaction/src/example.ts
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ const compiledTransactionMessageDecoder = getCompiledTransactionMessageDecoder()
const compiledTransactionMessage = compiledTransactionMessageDecoder.decode(decodedTransaction.messageBytes);

// This gives us the data stucture `CompiledTransactionMessage`. This is the format that transactions are
// compiled to before the entire transaction is encoded to base64 to be sent to the Solana network.
// compiled before the entire transaction is encoded to base64 to be sent to the Solana network.

// Let's inspect some fields of `compiledTransactionMessage`
// We can see its version:
Expand Down
2 changes: 1 addition & 1 deletion examples/rpc-transport-throttled/src/example.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ function getThrottledTransport<TClusterUrl extends ClusterUrl>(
originalTransport: RpcTransportFromClusterUrl<TClusterUrl>,
): RpcTransportFromClusterUrl<TClusterUrl> {
/**
* Keep track of how many more requests are allowed to be made in the curent 1 second span.
* Keep track of how many more requests are allowed to be made in the current 1 second span.
*/
let requestBudgetRemaining = MAX_RPS;
/**
Expand Down

0 comments on commit 2d7f65b

Please sign in to comment.