block/manager.rs: Set defaults for scrub_persister.

This commit is contained in:
Jonathan Davies 2023-03-09 17:08:47 +00:00
parent 7b65dd24e2
commit d218f475cb

View file

@ -152,6 +152,7 @@ impl BlockManager {
tx_scrub_command: ArcSwapOption::new(None), tx_scrub_command: ArcSwapOption::new(None),
}); });
block_manager.endpoint.set_handler(block_manager.clone()); block_manager.endpoint.set_handler(block_manager.clone());
block_manager.scrub_persister.set_with(|_| ()).unwrap();
block_manager block_manager
} }