Skip to content

Commit

Permalink
chore(sidecar): clippy, comments
Browse files Browse the repository at this point in the history
  • Loading branch information
thedevbirb committed Jun 17, 2024
1 parent a42accf commit 71d3be2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions bolt-sidecar/src/crypto/bls.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ pub trait SignableBLS {
/// Sign the object with the given key. Returns the signature.
///
/// Note: The default implementation should be used where possible.
#[allow(dead_code)]
fn sign(&self, key: &BlsSecretKey) -> Signature {
sign_with_prefix(key, &self.digest())
}
Expand All @@ -34,6 +35,7 @@ pub trait SignableBLS {
}
}

#[allow(dead_code)]
pub trait SignerBLS {
fn sign(&self, data: &[u8]) -> eyre::Result<BLSBytes>;
}
Expand Down
2 changes: 1 addition & 1 deletion bolt-sidecar/src/json_rpc/api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ pub struct JsonRpcApi {
cache: Arc<RwLock<lru::LruCache<Slot, Vec<CommitmentRequest>>>>,
/// The client for the MEV-Boost sidecar.
mevboost_client: MevBoostClient,
/// The commit boost client
/// The signer for the sidecar.
signer: Arc<dyn SignerBLSAsync>,
/// The client for the beacon node API.
#[allow(dead_code)]
Expand Down

0 comments on commit 71d3be2

Please sign in to comment.