mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
feat: add directory watcher to StaticFileProvider::read_only (#10701)
This commit is contained in:
@ -53,7 +53,7 @@ async fn main() -> eyre::Result<()> {
|
||||
let factory = ProviderFactory::<NodeTypesWithDBAdapter<EthereumNode, Arc<DatabaseEnv>>>::new(
|
||||
db.clone(),
|
||||
spec.clone(),
|
||||
StaticFileProvider::read_only(db_path.join("static_files"))?,
|
||||
StaticFileProvider::read_only(db_path.join("static_files"), true)?,
|
||||
);
|
||||
|
||||
// 2. Setup the blockchain provider using only the database provider and a noop for the tree to
|
||||
|
||||
Reference in New Issue
Block a user