diff --git a/Cargo.lock b/Cargo.lock index bcd0705..6b821c5 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1361,7 +1361,7 @@ dependencies = [ [[package]] name = "iota-wallet" version = "0.2.0" -source = "git+https://github.com/iotaledger/wallet.rs?rev=1e9ae9e05b1a992202e627fa91bc748466e6b53e#1e9ae9e05b1a992202e627fa91bc748466e6b53e" +source = "git+https://github.com/iotaledger/wallet.rs?rev=75b1f9e9dd150d2547d3fe61b2af60310ab6473d#75b1f9e9dd150d2547d3fe61b2af60310ab6473d" dependencies = [ "async-trait", "backtrace", diff --git a/Cargo.toml b/Cargo.toml index 89d8448..c90e063 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -16,7 +16,7 @@ clap = { version = "3.2.5", default-features = false, features = [ "derive", "st dialoguer = { version = "0.10.1", default-features = false, features = [ "password" ] } fern-logger = { version = "0.5.0", default-features = false } iota-crypto = { version = "0.12.1", default-features = false, features = [ "std", "random", "sha", "pbkdf", "hmac", "bip39", "bip39-en", "chacha", "blake2b", "slip10" ] } -iota-wallet = { git = "https://github.com/iotaledger/wallet.rs", rev = "1e9ae9e05b1a992202e627fa91bc748466e6b53e", default-features = false, features = [ "storage", "stronghold" ] } +iota-wallet = { git = "https://github.com/iotaledger/wallet.rs", rev = "75b1f9e9dd150d2547d3fe61b2af60310ab6473d", default-features = false, features = [ "storage", "stronghold" ] } log = { version = "0.4.17", default-features = false } prefix-hex = { version = "0.4.0", default-features = false, features = [ "std" ] } thiserror = { version = "1.0.31", default-features = false } diff --git a/src/command/account_manager.rs b/src/command/account_manager.rs index 2a15319..717bee1 100644 --- a/src/command/account_manager.rs +++ b/src/command/account_manager.rs @@ -6,7 +6,7 @@ use std::{fs::File, io::prelude::*}; use clap::{Args, Parser, Subcommand}; use iota_wallet::{ account_manager::AccountManager, - iota_client::{secret::SecretManager, utils::generate_mnemonic}, + iota_client::{constants::SHIMMER_COIN_TYPE, secret::SecretManager, utils::generate_mnemonic}, ClientOptions, }; use log::LevelFilter; @@ -57,6 +57,7 @@ pub async fn init_command( .with_node_sync_disabled(), ) .with_storage_path(&storage_path) + .with_coin_type(SHIMMER_COIN_TYPE) .finish() .await?;