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:
parent
daee3fbe4b
commit
2852020c58
1 changed files with 3 additions and 2 deletions
|
@ -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() {
|
||||
|
|
Loading…
Add table
Reference in a new issue