Skip to content

Commit

Permalink
revert deleted code by mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
thomas-nguy committed Feb 3, 2025
1 parent b839d3c commit b87df90
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions core/node/state_keeper/src/io/mempool.rs
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,13 @@ impl StateKeeperIO for MempoolIO {
}))
}

fn update_next_l2_block_timestamp(&mut self, block_timestamp: &mut u64) {
let current_timestamp_millis = millis_since_epoch();
let current_timestamp = (current_timestamp_millis / 1_000) as u64;

*block_timestamp = current_timestamp;
}

async fn wait_for_next_tx(
&mut self,
max_wait: Duration,
Expand Down

0 comments on commit b87df90

Please sign in to comment.