From eec74745e4c4af7d744509d66cb9b56481c471d3 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Tue, 1 Nov 2022 11:28:46 -0700 Subject: pds: more skeleton progress --- adenosine-pds/src/bin/adenosine-pds.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'adenosine-pds/src/bin/adenosine-pds.rs') 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), } } -- cgit v1.2.3