Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
Jannis committed Oct 21, 2023
1 parent 902f24e commit 4a19804
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions common/src/indexer_service/http/indexer_service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ pub struct IndexerServiceOptions<I>
where
I: IndexerServiceImpl + Sync + Send + 'static,
{
pub service_impl: Arc<I>,
pub service_impl: I,
pub config: IndexerServiceConfig,
pub extra_routes: Router<Arc<IndexerServiceState<I>>, Body>,
}
Expand Down Expand Up @@ -209,7 +209,7 @@ impl IndexerService {
config: options.config.clone(),
attestation_signers,
tap_manager,
service_impl: options.service_impl,
service_impl: Arc::new(options.service_impl),
});

let router = Router::new()
Expand Down
2 changes: 1 addition & 1 deletion common/src/indexer_service/http/scalar_receipt_header.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ impl Header for ScalarReceipt {
Ok(ScalarReceipt(parsed_receipt))
}

fn encode<E>(&self, values: &mut E)
fn encode<E>(&self, _values: &mut E)
where
E: Extend<HeaderValue>,
{
Expand Down

0 comments on commit 4a19804

Please sign in to comment.