mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-01-26 15:48:13 -05:00
fix: use empty withdrawals if parent has withdrawals root (#16980)
This commit is contained in:
@@ -67,7 +67,7 @@ where
|
||||
prev_randao: B256::random(),
|
||||
gas_limit: parent.gas_limit(),
|
||||
parent_beacon_block_root: parent.parent_beacon_block_root().map(|_| B256::ZERO),
|
||||
withdrawals: None,
|
||||
withdrawals: parent.withdrawals_root().map(|_| Default::default()),
|
||||
}
|
||||
.into())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user