mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-04-30 03:01:58 -04:00
feat: make StaticFileProvider generic over NodePrimitives (#12565)
This commit is contained in:
@@ -495,7 +495,7 @@ where
|
||||
}
|
||||
|
||||
/// Returns the static file provider to interact with the static files.
|
||||
pub fn static_file_provider(&self) -> StaticFileProvider {
|
||||
pub fn static_file_provider(&self) -> StaticFileProvider<T::Primitives> {
|
||||
self.right().static_file_provider()
|
||||
}
|
||||
|
||||
@@ -766,7 +766,7 @@ where
|
||||
}
|
||||
|
||||
/// Returns the static file provider to interact with the static files.
|
||||
pub fn static_file_provider(&self) -> StaticFileProvider {
|
||||
pub fn static_file_provider(&self) -> StaticFileProvider<<T::Types as NodeTypes>::Primitives> {
|
||||
self.provider_factory().static_file_provider()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user