Skip to content

Commit

Permalink
Update to latest wallet rev (#131)
Browse files Browse the repository at this point in the history
  • Loading branch information
Thoralf-M authored Jul 17, 2022
1 parent ef7d135 commit d661240
Show file tree
Hide file tree
Showing 5 changed files with 80 additions and 95 deletions.
161 changes: 73 additions & 88 deletions Cargo.lock

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

8 changes: 4 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cli-wallet"
version = "1.0.0-alpha.7"
version = "1.0.0-alpha.8"
authors = [ "IOTA Stiftung" ]
edition = "2021"
homepage = "https://iota.org"
Expand All @@ -15,12 +15,12 @@ path = "src/main.rs"
clap = { version = "3.2.8", default-features = false, features = [ "derive", "std" ] }
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 = "73b404144b9912fc96e6c677248cb362521e8797", default-features = false, features = [ "storage", "stronghold" ] }
iota-crypto = { version = "0.13.0", 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 = "d4409fbff4927c998a70f49e60bd8895f4f81b37", 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 }
tokio = { version = "1.19.2", default-features = false }
tokio = { version = "1.20.0", default-features = false }

[profile.release]
panic = "abort"
Expand Down
2 changes: 1 addition & 1 deletion src/command/account.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ use clap::{Parser, Subcommand};
use iota_wallet::{
account::{types::AccountAddress, AccountHandle, OutputsToClaim},
iota_client::{
bee_block::output::{AliasId, FoundryId, NftId, OutputId, TokenId},
block::output::{AliasId, FoundryId, NftId, OutputId, TokenId},
request_funds_from_faucet,
},
AddressAndNftId, AddressNativeTokens, AddressWithAmount, AddressWithMicroAmount, NativeTokenOptions, NftOptions,
Expand Down
2 changes: 1 addition & 1 deletion src/command/account_manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ pub async fn backup_command(manager: &AccountManager, path: String, password: &s
pub async fn change_password_command(manager: &AccountManager, current: &str) -> Result<(), Error> {
let new = get_password("Stronghold new password", true)?;

manager.change_stronghold_password(&current, &new).await?;
manager.change_stronghold_password(current, &new).await?;

Ok(())
}
Expand Down
Loading

0 comments on commit d661240

Please sign in to comment.