mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore: make block field private (#13628)
This commit is contained in:
@ -42,10 +42,10 @@ where
|
||||
let timestamp = block.timestamp();
|
||||
|
||||
let l1_block_info =
|
||||
reth_optimism_evm::extract_l1_info(&block.body).map_err(OpEthApiError::from)?;
|
||||
reth_optimism_evm::extract_l1_info(block.body()).map_err(OpEthApiError::from)?;
|
||||
|
||||
return block
|
||||
.body
|
||||
.body()
|
||||
.transactions()
|
||||
.iter()
|
||||
.zip(receipts.iter())
|
||||
|
||||
@ -41,7 +41,7 @@ where
|
||||
)))?;
|
||||
|
||||
let l1_block_info =
|
||||
reth_optimism_evm::extract_l1_info(&block.body).map_err(OpEthApiError::from)?;
|
||||
reth_optimism_evm::extract_l1_info(block.body()).map_err(OpEthApiError::from)?;
|
||||
|
||||
Ok(OpReceiptBuilder::new(
|
||||
&self.inner.eth_api.provider().chain_spec(),
|
||||
|
||||
Reference in New Issue
Block a user