Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.

Commit d661240

Browse files
authored
Update to latest wallet rev (#131)
1 parent ef7d135 commit d661240

File tree

5 files changed

+80
-95
lines changed

5 files changed

+80
-95
lines changed

Cargo.lock

Lines changed: 73 additions & 88 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "cli-wallet"
3-
version = "1.0.0-alpha.7"
3+
version = "1.0.0-alpha.8"
44
authors = [ "IOTA Stiftung" ]
55
edition = "2021"
66
homepage = "https://iota.org"
@@ -15,12 +15,12 @@ path = "src/main.rs"
1515
clap = { version = "3.2.8", default-features = false, features = [ "derive", "std" ] }
1616
dialoguer = { version = "0.10.1", default-features = false, features = [ "password" ] }
1717
fern-logger = { version = "0.5.0", default-features = false }
18-
iota-crypto = { version = "0.12.1", default-features = false, features = [ "std", "random", "sha", "pbkdf", "hmac", "bip39", "bip39-en", "chacha", "blake2b", "slip10" ] }
19-
iota-wallet = { git = "https://github.com/iotaledger/wallet.rs", rev = "73b404144b9912fc96e6c677248cb362521e8797", default-features = false, features = [ "storage", "stronghold" ] }
18+
iota-crypto = { version = "0.13.0", default-features = false, features = [ "std", "random", "sha", "pbkdf", "hmac", "bip39", "bip39-en", "chacha", "blake2b", "slip10" ] }
19+
iota-wallet = { git = "https://github.com/iotaledger/wallet.rs", rev = "d4409fbff4927c998a70f49e60bd8895f4f81b37", default-features = false, features = [ "storage", "stronghold" ] }
2020
log = { version = "0.4.17", default-features = false }
2121
prefix-hex = { version = "0.4.0", default-features = false, features = [ "std" ] }
2222
thiserror = { version = "1.0.31", default-features = false }
23-
tokio = { version = "1.19.2", default-features = false }
23+
tokio = { version = "1.20.0", default-features = false }
2424

2525
[profile.release]
2626
panic = "abort"

src/command/account.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ use clap::{Parser, Subcommand};
77
use iota_wallet::{
88
account::{types::AccountAddress, AccountHandle, OutputsToClaim},
99
iota_client::{
10-
bee_block::output::{AliasId, FoundryId, NftId, OutputId, TokenId},
10+
block::output::{AliasId, FoundryId, NftId, OutputId, TokenId},
1111
request_funds_from_faucet,
1212
},
1313
AddressAndNftId, AddressNativeTokens, AddressWithAmount, AddressWithMicroAmount, NativeTokenOptions, NftOptions,

src/command/account_manager.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ pub async fn backup_command(manager: &AccountManager, path: String, password: &s
6161
pub async fn change_password_command(manager: &AccountManager, current: &str) -> Result<(), Error> {
6262
let new = get_password("Stronghold new password", true)?;
6363

64-
manager.change_stronghold_password(&current, &new).await?;
64+
manager.change_stronghold_password(current, &new).await?;
6565

6666
Ok(())
6767
}

0 commit comments

Comments
 (0)