mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-01-30 01:28:21 -05:00
chore: use existing get sealed function (#3426)
This commit is contained in:
@@ -129,7 +129,7 @@ where
|
||||
None => return Ok(None),
|
||||
};
|
||||
|
||||
Ok(self.cache().get_block(block_hash).await?.map(|block| block.seal(block_hash)))
|
||||
Ok(self.cache().get_sealed_block(block_hash).await?)
|
||||
}
|
||||
|
||||
/// Returns the populated rpc block object for the given block id.
|
||||
|
||||
Reference in New Issue
Block a user