diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 39081926..dd8ebec8 100644 --- a/.github/workflows/lint.yml +++ b/.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 diff --git a/src/cashu_wallet.rs b/src/cashu_wallet.rs index ea019943..a003f5ee 100644 --- a/src/cashu_wallet.rs +++ b/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 { diff --git a/src/types.rs b/src/types.rs index faee744c..494d3ea0 100644 --- a/src/types.rs +++ b/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 { let mut blinded_messages = BlindedMessages::default();