Skip to content

Commit

Permalink
fix(examples): remove unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
refcell committed Jul 17, 2024
1 parent 47e4c1d commit 406b080
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion examples/trusted-sync/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,6 @@ async fn sync(cli: cli::Cli) -> Result<()> {
// Update the reference l2 head.
match l2_provider.latest_block_number().await {
Ok(latest) => {
let prev = metrics::REFERENCE_L2_HEAD.get();
metrics::REFERENCE_L2_HEAD.set(latest as i64);
let timestamp = match std::time::SystemTime::now()
.duration_since(std::time::UNIX_EPOCH)
Expand Down

0 comments on commit 406b080

Please sign in to comment.