Skip to content

Commit

Permalink
Typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Lohann committed Sep 2, 2024
1 parent 9e1d107 commit 20e38ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chains/ethereum/server/src/block_provider.rs
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ where
// Check if the cache has expired
if guard.1.elapsed() > self.cache_timeout {
let at_block = match self.finality_strategy {
BlockFinalityStrategy::Finalized => AtBlock::Latest,
BlockFinalityStrategy::Finalized => AtBlock::Finalized,
BlockFinalityStrategy::Confirmations(confirmations) => {
let latest_block_number = self.latest_block().await?.header().number();
let best_block_number = latest_block_number.saturating_sub(confirmations);
Expand Down

0 comments on commit 20e38ec

Please sign in to comment.