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
4 changes: 2 additions & 2 deletions Cargo.lock

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

4 changes: 2 additions & 2 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.3"
version = "1.0.0-alpha.4"
authors = [ "IOTA Stiftung" ]
edition = "2021"
homepage = "https://iota.org"
Expand All @@ -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 = "7bf05046536fcb64e59a3290a76a4cb36f43db37", default-features = false, features = [ "storage", "stronghold" ] }
iota-wallet = { git = "https://github.com/iotaledger/wallet.rs", rev = "1e9ae9e05b1a992202e627fa91bc748466e6b53e", 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 }
Expand Down
4 changes: 2 additions & 2 deletions 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, Transaction},
AccountHandle, OutputsToCollect,
AccountHandle, OutputsToClaim,
},
iota_client::{
bee_block::output::{AliasId, FoundryId, NftId, TokenId},
Expand Down Expand Up @@ -150,7 +150,7 @@ pub async fn balance_command(account_handle: &AccountHandle) -> Result<(), Error
pub async fn claim_command(account_handle: &AccountHandle) -> Result<(), Error> {
log::info!("Claiming outputs.");

let claiming_txs = account_handle.try_collect_outputs(OutputsToCollect::All).await?;
let claiming_txs = account_handle.try_claim_outputs(OutputsToClaim::All).await?;

for claim_tx in claiming_txs {
log::info!("Claim transaction sent: {claim_tx:?}");
Expand Down