Skip to content

Commit

Permalink
merge conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
SWvheerden committed Jan 28, 2021
1 parent 63219a6 commit 25866b1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 12 deletions.
2 changes: 1 addition & 1 deletion applications/tari_console_wallet/src/init/mod.rs
Expand Up @@ -134,7 +134,7 @@ pub async fn change_password(
shutdown_signal: ShutdownSignal,
) -> Result<(), ExitCodes>
{
let mut wallet = init_wallet(config, node_identity, arg_password, None, shutdown_signal).await?;
let mut wallet = init_wallet(config, arg_password, None, shutdown_signal).await?;

let passphrase = prompt_password("New wallet password: ")?;
let confirmed = prompt_password("Confirm new password: ")?;
Expand Down
11 changes: 1 addition & 10 deletions applications/tari_console_wallet/src/main.rs
Expand Up @@ -68,10 +68,6 @@ fn main_inner() -> Result<(), ExitCodes> {
None
};

let id_exists = config.console_wallet_identity_file.exists();
let create_id = !id_exists || bootstrap.create_id;


if bootstrap.init {
info!(target: LOG_TARGET, "Default configuration created. Done.");
}
Expand All @@ -88,12 +84,7 @@ fn main_inner() -> Result<(), ExitCodes> {
}

// initialize wallet
let mut wallet = runtime.block_on(init_wallet(
&config,
arg_password,
master_key,
shutdown_signal,
))?;
let mut wallet = runtime.block_on(init_wallet(&config, arg_password, master_key, shutdown_signal))?;

// get base node/s
let base_node_config = runtime.block_on(get_base_node_peer_config(&config, &mut wallet))?;
Expand Down
Expand Up @@ -118,7 +118,7 @@ where TBackend: TransactionBackend + 'static
futures::select! {
dial_result = self.resources.connectivity_manager.dial_peer(base_node_node_id.clone()).fuse() => {
match dial_result {
Ok(mut base_node_connection) => {
Ok( base_node_connection) => {
connection = Some(base_node_connection);
},
Err(e) => {
Expand Down

0 comments on commit 25866b1

Please sign in to comment.