Skip to content

Commit 4e82673

Browse files
committed
apollo_l1_provider: scraper historic height is one more
1 parent 3f0b30a commit 4e82673

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/apollo_l1_provider/src/l1_scraper.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ impl<BaseLayerType: BaseLayerContract + Send + Sync + Debug> L1Scraper<BaseLayer
193193
.await
194194
.map_err(L1ScraperError::BaseLayerError)?
195195
.number;
196-
Ok(last_historic_l2_height)
196+
Ok(last_historic_l2_height.unchecked_next())
197197
}
198198

199199
/// Send an initialize message to the L1 provider, including the last L2 height that was proved

0 commit comments

Comments
 (0)