mirror of
https://github.com/romanz/electrs.git
synced 2024-11-19 01:43:29 +01:00
Fix formatting
This commit is contained in:
parent
f4ac913c39
commit
4c182a0650
@ -16,7 +16,12 @@ fn run() -> Result<()> {
|
||||
let metrics = Metrics::new(config.monitoring_addr);
|
||||
metrics.start();
|
||||
|
||||
let daemon = Daemon::new(&config.daemon_dir, &config.cookie, config.network_type, &metrics)?;
|
||||
let daemon = Daemon::new(
|
||||
&config.daemon_dir,
|
||||
&config.cookie,
|
||||
config.network_type,
|
||||
&metrics,
|
||||
)?;
|
||||
let fake_store = FakeStore {};
|
||||
let index = Index::load(&fake_store, &daemon, &metrics)?;
|
||||
index.update(&fake_store, &signal)?;
|
||||
|
@ -18,7 +18,12 @@ fn run(config: Config) -> Result<()> {
|
||||
let metrics = Metrics::new(config.monitoring_addr);
|
||||
metrics.start();
|
||||
|
||||
let daemon = Daemon::new(&config.daemon_dir, &config.cookie, config.network_type, &metrics)?;
|
||||
let daemon = Daemon::new(
|
||||
&config.daemon_dir,
|
||||
&config.cookie,
|
||||
config.network_type,
|
||||
&metrics,
|
||||
)?;
|
||||
let store = DBStore::open(Path::new("./test-db"), StoreOptions { bulk_import: true });
|
||||
|
||||
let parser = Parser::new(&daemon, &store, &metrics)?;
|
||||
|
Loading…
Reference in New Issue
Block a user