소스 검색

chore: remove repetitive words (#1524)

NinaLua 1 년 전
부모
커밋
8d32b4c2fc

+ 1 - 1
target_chains/aptos/contracts/sources/batch_price_attestation.move

@@ -133,7 +133,7 @@ module pyth::batch_price_attestation {
         // the attester.
 
         // If status is trading, use the current price.
-        // If not, use the the last known trading price.
+        // If not, use the last known trading price.
         let current_price = pyth::price::new(price, conf, expo, publish_time);
         if (status != price_status::new_trading()) {
             current_price = pyth::price::new(prev_price, prev_conf, expo, prev_publish_time);

+ 1 - 1
target_chains/ethereum/entropy_sdk/solidity/EntropyStructs.sol

@@ -11,7 +11,7 @@ contract EntropyStructs {
         // and instead is stored to help providers track where they are in the hash chain.
         bytes32 originalCommitment;
         uint64 originalCommitmentSequenceNumber;
-        // Metadata for the current commitment. Providers may optionally use this field to to help
+        // Metadata for the current commitment. Providers may optionally use this field to help
         // manage rotations (i.e., to pick the sequence number from the correct hash chain).
         bytes commitmentMetadata;
         // Optional URI where clients can retrieve revelations for the provider.

+ 1 - 1
target_chains/fuel/contracts/pyth-interface/src/interface.sw

@@ -53,7 +53,7 @@ abi PythCore {
     /// # Reverts
     ///
     /// * When the EMA price is not available.
-    /// * When the the EMA price wasn't updated recently enough.
+    /// * When the EMA price wasn't updated recently enough.
     #[storage(read)]
     fn ema_price_no_older_than(time_period: u64, price_feed_id: PriceFeedId) -> Price;
 

+ 1 - 1
target_chains/solana/sdk/js/pyth_solana_receiver/src/vaa.ts

@@ -79,7 +79,7 @@ export async function buildEncodedVaaCreateInstruction(
 }
 
 /**
- * Writing the VAA to to an encoded VAA account is done in 2 instructions.
+ * Writing the VAA to an encoded VAA account is done in 2 instructions.
  *
  * The first one writes the first `VAA_SPLIT_INDEX` bytes and the second one writes the rest.
  *

+ 1 - 1
target_chains/sui/contracts/sources/batch_price_attestation.move

@@ -135,7 +135,7 @@ module pyth::batch_price_attestation {
         // the attester.
 
         // If status is trading, use the current price.
-        // If not, use the the last known trading price.
+        // If not, use the last known trading price.
         let current_price = pyth::price::new(price, conf, expo, publish_time);
         if (status != price_status::new_trading()) {
             current_price = pyth::price::new(prev_price, prev_conf, expo, prev_publish_time);