Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cli-wallet"
version = "1.0.0-beta.1"
version = "1.0.0-beta.2"
authors = [ "IOTA Stiftung" ]
edition = "2021"
homepage = "https://iota.org"
Expand Down
6 changes: 2 additions & 4 deletions src/command/account_manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,7 @@ pub async fn init_command(
let account_manager = AccountManager::builder()
.with_secret_manager(secret_manager)
.with_client_options(
ClientOptions::new()
.with_node(parameters.node.as_deref().unwrap_or("http://localhost:14265"))?
.with_node_sync_disabled(),
ClientOptions::new().with_node(parameters.node.as_deref().unwrap_or("http://localhost:14265"))?,
)
.with_storage_path(&storage_path)
.with_coin_type(parameters.coin_type.unwrap_or(SHIMMER_COIN_TYPE))
Expand Down Expand Up @@ -128,7 +126,7 @@ pub async fn restore_command(manager: &AccountManager, path: String, password: &

pub async fn set_node_command(manager: &AccountManager, url: String) -> Result<(), Error> {
manager
.set_client_options(ClientOptions::new().with_node(&url)?.with_node_sync_disabled())
.set_client_options(ClientOptions::new().with_node(&url)?)
.await?;

Ok(())
Expand Down