Resolved merge conflict by incorporating both suggestions.

This commit is contained in:
DenioD
2019-10-21 13:31:06 +02:00
7 changed files with 130 additions and 76 deletions

View File

@@ -160,7 +160,7 @@ fn startup(server: http::Uri, dangerous: bool, seed: Option<String>, first_sync:
std::io::Error::new(ErrorKind::Other, e)
})?;
let lightclient = match seed {
let lightclient = match seed {
Some(phrase) => Arc::new(LightClient::new_from_phrase(phrase, &config, latest_block_height)?),
None => Arc::new(LightClient::read_from_disk(&config)?)
};