mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-01-30 01:28:21 -05:00
check shanghai timestamp for withdrawals instead of paris (#1920)
This commit is contained in:
@@ -805,7 +805,7 @@ where
|
||||
|
||||
// withdrawal can be missing
|
||||
let shanghai_is_active =
|
||||
chain_spec.fork(Hardfork::Paris).active_at_block(main_block_number);
|
||||
chain_spec.fork(Hardfork::Shanghai).active_at_timestamp(header.timestamp);
|
||||
let mut withdrawals = Some(Vec::new());
|
||||
if shanghai_is_active {
|
||||
if let Some((block_number, _)) = block_withdrawals.as_ref() {
|
||||
|
||||
Reference in New Issue
Block a user