Skip to content

Commit

Permalink
[fix] resolve conflicts after rebasing
Browse files Browse the repository at this point in the history
Signed-off-by: VAmuzing <amuzik95@gmail.com>
  • Loading branch information
VAmuzing committed Apr 11, 2024
1 parent 198fa91 commit 7c963d7
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions config/src/parameters/user.rs
Expand Up @@ -147,7 +147,7 @@ impl Root {
None
}, Some);

let genesis = self.genesis.parse().map_or_else(
let genesis = self.genesis.parse(cli).map_or_else(
|err| {
// FIXME
emitter.emit(eyre!("{err}"));
Expand Down Expand Up @@ -186,7 +186,7 @@ impl Root {
}
}

let (p2p_address, block_sync, transaction_gossiper) = self.network.parse();
let (network, block_sync, transaction_gossiper) = self.network.parse();

let logger = self.logger;
let queue = self.queue;
Expand Down Expand Up @@ -275,7 +275,9 @@ fn validate_directory_path(
}

#[derive(Copy, Clone)]
pub struct CliContext {}
pub struct CliContext {
pub submit_genesis: bool,
}

pub(crate) fn private_key_from_env<E: Error>(
emitter: &mut Emitter<Report>,
Expand Down

0 comments on commit 7c963d7

Please sign in to comment.