Skip to content

Commit

Permalink
fix(reth-ipc): pass through extensions from request (#11300)
Browse files Browse the repository at this point in the history
  • Loading branch information
benluelo authored Sep 27, 2024
1 parent 5b585eb commit 49f044f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crates/rpc/ipc/src/server/rpc_service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ use jsonrpsee::{
IdProvider,
},
types::{error::reject_too_many_subscriptions, ErrorCode, ErrorObject, Request},
BoundedSubscriptions, ConnectionId, Extensions, MethodCallback, MethodResponse, MethodSink,
Methods, SubscriptionState,
BoundedSubscriptions, ConnectionId, MethodCallback, MethodResponse, MethodSink, Methods,
SubscriptionState,
};
use std::sync::Arc;

Expand Down Expand Up @@ -58,7 +58,7 @@ impl<'a> RpcServiceT<'a> for RpcService {
let params = req.params();
let name = req.method_name();
let id = req.id().clone();
let extensions = Extensions::new();
let extensions = req.extensions.clone();

match self.methods.method_with_name(name) {
None => {
Expand Down

0 comments on commit 49f044f

Please sign in to comment.