1
0
Fork 0
mirror of https://github.com/romanz/electrs.git synced 2025-02-23 14:50:45 +01:00

Fix leftovers at examples/load.rs

This commit is contained in:
Roman Zeyde 2018-07-13 22:08:50 +03:00
parent daee3fbe4b
commit 2852020c58
No known key found for this signature in database
GPG key ID: 87CAE5FA46917CBB

View file

@ -7,7 +7,7 @@ extern crate error_chain;
use electrs::{
bulk, config::Config, daemon::Daemon, errors::*, metrics::Metrics,
store::{DBStore, StoreOptions},
store::{DBStore},
};
use error_chain::ChainedError;
@ -28,7 +28,8 @@ fn run(config: Config) -> Result<()> {
&metrics,
)?;
let store = DBStore::open(&config.db_path);
bulk::index(&daemon, &metrics, store)
bulk::index(&daemon, &metrics, store)?;
Ok(())
}
fn main() {