Make Parser::new the only entrypoint

This commit is contained in:
deadmanoz
2025-07-04 12:15:32 +08:00
parent 870c70180f
commit fa1e5aaa7f
8 changed files with 18 additions and 19 deletions

View File

@@ -21,7 +21,7 @@ pub fn run() -> color_eyre::Result<()> {
let exit = Exit::new();
let parser = if config.process() && rpc.is_some() {
Some(brk_parser::Parser::new_with_outputs_dir(
Some(brk_parser::Parser::new(
config.blocksdir(),
config.outputsdir(),
rpc.unwrap(),