Skip to content

Commit 4c9a02f

Browse files
committed
fix: clippy
1 parent a7e25ce commit 4c9a02f

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

crates/prism/src/node_types/lightclient.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,8 @@ impl LightClient {
8080

8181
// todo: verify adjacency to last heights, <- for this we need some sort of storage of epochs
8282
for epoch_json in epoch_json_vec {
83-
let prev_commitment = &epoch_json.prev_commitment;
84-
let current_commitment = &epoch_json.current_commitment;
83+
let _prev_commitment = &epoch_json.prev_commitment;
84+
let _current_commitment = &epoch_json.current_commitment;
8585

8686
// if the user does not add a verifying key, we will not verify the signature,
8787
// but only log a warning on startup

crates/prism/src/node_types/sequencer.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@ pub struct Sequencer {
5454
prover_client: Arc<Mutex<ProverClient>>,
5555

5656
proving_key: SP1ProvingKey,
57+
// fix clippy warning, keep verifying_key for future use
58+
#[allow(dead_code)]
5759
verifying_key: SP1VerifyingKey,
5860

5961
epoch_buffer_tx: Arc<Sender<FinalizedEpoch>>,

0 commit comments

Comments
 (0)