浏览代码

ci: typos

thesimplekid 1 年之前
父节点
当前提交
801f6233f4
共有 3 个文件被更改,包括 4 次插入2 次删除
  1. 2 0
      .github/workflows/lint.yml
  2. 1 1
      src/cashu_wallet.rs
  3. 1 1
      src/types.rs

+ 2 - 0
.github/workflows/lint.yml

@@ -18,6 +18,8 @@ jobs:
     - name: Set Toolchain
       # https://github.com/dtolnay/rust-toolchain
       uses: dtolnay/rust-toolchain@stable
+    - name: typos-action
+      uses: crate-ci/typos@v1.0.4
     - name: Run fmt
       run: cargo fmt --all --check 
     - name: Run clippy

+ 1 - 1
src/cashu_wallet.rs

@@ -29,7 +29,7 @@ impl CashuWallet {
         }
     }
 
-    // TODO: getter method for keys that if it cant get them try agian
+    // TODO: getter method for keys that if it cant get them try again
 
     /// Check if a proof is spent
     pub async fn check_proofs_spent(&self, proofs: Proofs) -> Result<ProofsStatus, Error> {

+ 1 - 1
src/types.rs

@@ -40,7 +40,7 @@ pub struct BlindedMessages {
 }
 
 impl BlindedMessages {
-    /// Outputs for specfied amount with random secret
+    /// Outputs for speceifed amount with random secret
     pub fn random(amount: Amount) -> Result<Self, Error> {
         let mut blinded_messages = BlindedMessages::default();