Skip to content

Commit

Permalink
chore: clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
ratankaliani committed Nov 6, 2024
1 parent 4b23277 commit 4523b3f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions services/src/input.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
use anyhow::Result;
use avail_subxt::primitives::grandpa::{AuthorityId, ConsensusLog};
use log::info;
use sp1_vector_primitives::types::{
CircuitJustification, HeaderRangeInputs, HeaderRotateData, Precommit, RotateInputs,
};
Expand Down Expand Up @@ -521,11 +520,11 @@ impl RpcDataFetcher {
if consensus_id == [70, 82, 78, 75] {
// Decode the consensus log. Only if this is the correct log, will we continue.
match ConsensusLog::<u32>::decode(&mut value.as_slice()) {
Ok(ConsensusLog::ScheduledChange(x)) => {
Ok(ConsensusLog::ScheduledChange(_)) => {
println!("Found ScheduledChange log!");
found_correct_log = true;
}
Ok(ConsensusLog::ForcedChange(_, x)) => {
Ok(ConsensusLog::ForcedChange(_, _)) => {
println!("Found ForcedChange log!");
found_correct_log = true;
}
Expand Down

0 comments on commit 4523b3f

Please sign in to comment.