Skip to content

Commit

Permalink
fix seal
Browse files Browse the repository at this point in the history
  • Loading branch information
tcoratger committed Oct 24, 2024
1 parent 522a0fe commit abf2861
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/rpc-types-eth/src/block.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use alloy_consensus::{Sealed, TxEnvelope};
use alloy_network_primitives::{
BlockResponse, BlockTransactions, HeaderResponse, TransactionResponse,
};
use alloy_primitives::{Address, BlockHash, Bloom, Bytes, B256, B64, U256};
use alloy_primitives::{Address, BlockHash, Bloom, Bytes, Sealable, B256, B64, U256};
use alloy_rlp::Encodable;

use alloc::vec::Vec;
Expand Down Expand Up @@ -60,7 +60,7 @@ impl<T> Block<T> {
pub fn uncle_block_from_header(header: alloy_consensus::Header) -> Self {
Self {
uncles: vec![],
header: header.clone().seal(header.hash_slow()).into(),
header: header.clone().seal_slow().into(),
transactions: BlockTransactions::Uncle,
withdrawals: None,
size: Some(U256::from(
Expand Down

0 comments on commit abf2861

Please sign in to comment.