Skip to content

Commit

Permalink
Simplify test
Browse files Browse the repository at this point in the history
  • Loading branch information
bvrooman committed Oct 5, 2023
1 parent 7e89e4b commit ec6a612
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/services/relayer/src/service/get_logs/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ async fn can_paginate_logs(input: Input) -> Expected {

eth_node.update_data(|data| {
data.logs_batch = vec![logs];
data.best_block.number = Some((eth_gap.end() + 100).into());
data.best_block.number = Some((*eth_gap.end()).into());
});
let count = std::sync::Arc::new(AtomicUsize::new(0));
let num_calls = count.clone();
Expand Down

0 comments on commit ec6a612

Please sign in to comment.