From 2d7f65bfb4c468710c6914e9a40f833b71478779 Mon Sep 17 00:00:00 2001 From: Elias Rad <146735585+nnsW3@users.noreply.github.com> Date: Tue, 20 Aug 2024 05:24:00 +0300 Subject: [PATCH] chore: fix spelling issues (#3115) * fix example.ts * fix example.ts * fix SECURITY.md --- SECURITY.md | 2 +- examples/deserialize-transaction/src/example.ts | 2 +- examples/rpc-transport-throttled/src/example.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/SECURITY.md b/SECURITY.md index 2be3f6cf74e2..d4c2b73b63c7 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -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]". diff --git a/examples/deserialize-transaction/src/example.ts b/examples/deserialize-transaction/src/example.ts index f8f282675fdf..065b4c24f763 100644 --- a/examples/deserialize-transaction/src/example.ts +++ b/examples/deserialize-transaction/src/example.ts @@ -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: diff --git a/examples/rpc-transport-throttled/src/example.ts b/examples/rpc-transport-throttled/src/example.ts index 31e729cc864f..7c372de35ba1 100644 --- a/examples/rpc-transport-throttled/src/example.ts +++ b/examples/rpc-transport-throttled/src/example.ts @@ -38,7 +38,7 @@ function getThrottledTransport( originalTransport: RpcTransportFromClusterUrl, ): RpcTransportFromClusterUrl { /** - * 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; /**