Skip to content

Commit

Permalink
Fix lints
Browse files Browse the repository at this point in the history
  • Loading branch information
imikushin committed Aug 22, 2024
1 parent fb7a4ce commit 3e9450f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
docker run -d --rm \
--name bitcoind \
-p 18443:18443 lncm/bitcoind:v26.0 \
-p 18443:18443 lncm/bitcoind:v27.0 \
-chain=regtest \
-rpcuser=hello -rpcpassword=world \
-rpcbind=0.0.0.0 -rpcallowip=0.0.0.0/0 \
Expand Down
4 changes: 1 addition & 3 deletions src/capped_hashmap.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,7 @@ where

/// Removes a key from the map, returning the value at the key if the key was previously in the map.
pub fn remove(&mut self, k: &K) -> Option<V> {
let Some(v) = self.inner.remove(k) else {
return None;
};
let v = self.inner.remove(k)?;

self.last_items
.iter()
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ pub mod utils;
pub mod alice_sign_tx;

/// 2. Bob sends a request to the zkBitcoin committee to unlock funds from a smart contract.
/// The MPC committee can verify that request.
/// The MPC committee can verify that request.
pub mod bob_request;

/// 3. The zkBitcoin committee produce a collaborative schnorr signature to unlock the funds for Bob.
Expand Down

0 comments on commit 3e9450f

Please sign in to comment.