Quellcode durchsuchen

chore: Typo fixes (#6599)

Maxim Evtush vor 5 Monaten
Ursprung
Commit
64a3969a99
2 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  1. 1 1
      install/src/config.rs
  2. 1 1
      zk-token-sdk/src/instruction/transfer/mod.rs

+ 1 - 1
install/src/config.rs

@@ -77,7 +77,7 @@ impl Config {
                 })
         });
         if result.is_err() {
-            eprintln!("config upgrade failed! restoring orignal");
+            eprintln!("config upgrade failed! restoring original");
             let restored = std::fs::copy(&bak_filename, config_file)
                 .and_then(|_| std::fs::remove_file(&bak_filename));
             if restored.is_err() {

+ 1 - 1
zk-token-sdk/src/instruction/transfer/mod.rs

@@ -49,7 +49,7 @@ pub fn split_u64(amount: u64, bit_length: usize) -> (u64, u64) {
 }
 
 /// Takes in a 64-bit number `amount` and a bit length `bit_length`. It returns:
-/// - the `bit_length` low bits of `amount` interpretted as u64
+/// - the `bit_length` low bits of `amount` interpreted as u64
 /// - the `(64 - bit_length)` high bits of `amount` interpretted as u64
 #[cfg(not(target_os = "solana"))]
 pub fn try_split_u64(amount: u64, bit_length: usize) -> Result<(u64, u64), InstructionError> {