diff --git a/crates/rpc/rpc/src/eth/api/block.rs b/crates/rpc/rpc/src/eth/api/block.rs index d5e83999872a..3cd33be201f9 100644 --- a/crates/rpc/rpc/src/eth/api/block.rs +++ b/crates/rpc/rpc/src/eth/api/block.rs @@ -130,7 +130,7 @@ where if block_id.is_pending() { // Pending block can be fetched directly without need for caching - return Ok(self.provider().pending_block()?.map(|block| block.body.len())); + return Ok(self.provider().pending_block()?.map(|block| block.body.len())) } let block_hash = match self.provider().block_hash_for_id(block_id)? {