diff options
Diffstat (limited to 'adenosine-pds/src/bin/adenosine-pds.rs')
-rw-r--r-- | adenosine-pds/src/bin/adenosine-pds.rs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/adenosine-pds/src/bin/adenosine-pds.rs b/adenosine-pds/src/bin/adenosine-pds.rs index 44c4cef..b76d015 100644 --- a/adenosine-pds/src/bin/adenosine-pds.rs +++ b/adenosine-pds/src/bin/adenosine-pds.rs @@ -80,11 +80,9 @@ fn main() -> Result<()> { match opt.cmd { Command::Serve { port } => { // TODO: log some config stuff? - run_server(port) - } - Command::Import { car_path } => { - load_car_to_sqlite(&opt.blockstore_db_path, &car_path) + run_server(port, &opt.blockstore_db_path, &opt.atp_db_path) } + Command::Import { car_path } => load_car_to_sqlite(&opt.blockstore_db_path, &car_path), Command::Inspect {} => dump_mst_keys(&opt.blockstore_db_path), } } |