From 2c08dc01e7f956cd731f38bf8506cca6c1572a11 Mon Sep 17 00:00:00 2001 From: Jonathan <94441036+zeapoz@users.noreply.github.com> Date: Thu, 21 Dec 2023 11:53:10 +0100 Subject: [PATCH] chore: code review suggestion MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Tuomas Mäkinen <1947505+tuommaki@users.noreply.github.com> --- state-reconstruct-fetcher/src/types/v2.rs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/state-reconstruct-fetcher/src/types/v2.rs b/state-reconstruct-fetcher/src/types/v2.rs index c69d131..73ac87c 100644 --- a/state-reconstruct-fetcher/src/types/v2.rs +++ b/state-reconstruct-fetcher/src/types/v2.rs @@ -244,11 +244,6 @@ impl TryFrom<&abi::Token> for ExtractedToken { )); }; - /* TODO(tuommaki): Fix the check below. - if new_l2_block_number <= latest_l2_block_number { - continue; - } - */ let abi::Token::Uint(timestamp) = block_elems[1].clone() else { return Err(ParseError::InvalidCommitBlockInfo("timestamp".to_string()));