mirror of
https://github.com/bitcoinresearchkit/brk.git
synced 2026-04-25 23:29:58 -07:00
Make Parser::new the only entrypoint
This commit is contained in:
@@ -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(),
|
||||
|
||||
Reference in New Issue
Block a user