diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index fe7a05148..b65b19ea7 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -27,3 +27,15 @@ jobs: cargo fmt -- --check cd ../cli cargo fmt -- --check + + clippy: + name: Cargo Clippy + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Check Rust Clippy + run: | + cd lib + cargo clippy + cd ../cli + cargo clippy \ No newline at end of file diff --git a/lib/src/wallet.rs b/lib/src/wallet.rs index 6a6595ae2..5d986819e 100644 --- a/lib/src/wallet.rs +++ b/lib/src/wallet.rs @@ -43,6 +43,7 @@ pub struct Wallet { impl Wallet { pub fn init(mnemonic: String) -> Result> { + let a = 3; let signer = SwSigner::new(&mnemonic, false)?; let descriptor = singlesig_desc( &signer,