From 801f6233f4bcf544633d9dbe65626d16d95687d8 Mon Sep 17 00:00:00 2001 From: thesimplekid Date: Wed, 10 May 2023 00:04:33 -0400 Subject: [PATCH] ci: typos --- .github/workflows/lint.yml | 2 ++ src/cashu_wallet.rs | 2 +- src/types.rs | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) 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();