Ver código fonte

chore: fix some typos in comment (#2183)

Signed-off-by: deterclosed <fliter@outlook.com>
deterclosed 11 meses atrás
pai
commit
2275a84954

+ 1 - 1
apps/api-reference/src/apis/evm/get-price-unsafe.ts

@@ -4,7 +4,7 @@ import { ParameterType } from "../../components/EvmApi";
 export const getPriceUnsafe = readApi<"id">({
   name: "getPriceUnsafe",
   summary:
-    "Get the **last updated** price object for the requested price feed ID. _Caution: This function may return a price from arbitrarily in the the past_",
+    "Get the **last updated** price object for the requested price feed ID. _Caution: This function may return a price from arbitrarily in the past_",
   description: `
   This method returns the price object containing **last updated** price for the requested price feed ID.
 

+ 1 - 1
apps/hermes/server/src/config/pythnet.rs

@@ -11,7 +11,7 @@ pub struct Options {
     #[arg(env = "PYTHNET_WS_ADDR")]
     pub ws_addr: String,
 
-    /// Addres of a PythNet compatible HTP RPC endpoint.
+    /// Address of a PythNet compatible HTP RPC endpoint.
     #[arg(long = "pythnet-http-addr")]
     #[arg(env = "PYTHNET_HTTP_ADDR")]
     pub http_addr: String,

+ 1 - 1
apps/hermes/server/src/network/wormhole.rs

@@ -30,7 +30,7 @@ impl std::fmt::Display for GuardianSet {
     fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
         write!(f, "[")?;
         for (i, key) in self.keys.iter().enumerate() {
-            // Comma seperated printing of the keys using hex encoding.
+            // Comma separated printing of the keys using hex encoding.
             if i != 0 {
                 write!(f, ", ")?;
             }

+ 2 - 2
target_chains/solana/sdk/js/pyth_solana_receiver/src/idl/wormhole_core_bridge_solana.ts

@@ -601,7 +601,7 @@ export type WormholeCoreBridgeSolana = {
             name: "signerIndices";
             docs: [
               "Indices of verified guardian signatures, where -1 indicates a missing value. There is a",
-              "missing value if the guardian at this index is not expected to have its signature verfied by",
+              "missing value if the guardian at this index is not expected to have its signature verified by",
               "the Sig Verify native program in the instruction invoked prior).",
               "",
               "NOTE: In the legacy implementation, this argument being a fixed-sized array of 19 only",
@@ -2207,7 +2207,7 @@ export const IDL: WormholeCoreBridgeSolana = {
             name: "signerIndices",
             docs: [
               "Indices of verified guardian signatures, where -1 indicates a missing value. There is a",
-              "missing value if the guardian at this index is not expected to have its signature verfied by",
+              "missing value if the guardian at this index is not expected to have its signature verified by",
               "the Sig Verify native program in the instruction invoked prior).",
               "",
               "NOTE: In the legacy implementation, this argument being a fixed-sized array of 19 only",