Skip to content

Commit 095b74e

Browse files
committed
fix(l1): use correct block number for base_fee in gas_tip_estimator
1 parent 7b4a0ba commit 095b74e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/networking/rpc/eth/gas_tip_estimator.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ impl GasTipEstimator {
8686
};
8787

8888
let base_fee = storage
89-
.get_block_header(latest_block_number)
89+
.get_block_header(block_num)
9090
.ok()
9191
.flatten()
9292
.and_then(|header| header.base_fee_per_gas);

0 commit comments

Comments
 (0)