mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
style: pass clippy check
This commit is contained in:
@ -38,7 +38,7 @@ where
|
|||||||
{
|
{
|
||||||
async fn block_precompile_data(&self, block: BlockId) -> RpcResult<HlExtras> {
|
async fn block_precompile_data(&self, block: BlockId) -> RpcResult<HlExtras> {
|
||||||
trace!(target: "rpc::eth", ?block, "Serving eth_blockPrecompileData");
|
trace!(target: "rpc::eth", ?block, "Serving eth_blockPrecompileData");
|
||||||
let hl_extras = self.eth_api.get_hl_extras(block).map_err(|e| EthApiError::from(e))?;
|
let hl_extras = self.eth_api.get_hl_extras(block).map_err(EthApiError::from)?;
|
||||||
Ok(hl_extras)
|
Ok(hl_extras)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user