Skip to content

Commit

Permalink
Fix: use correct address format (#846)
Browse files Browse the repository at this point in the history
  • Loading branch information
Thoralf-M authored Dec 28, 2021
1 parent d8bdc3b commit df7b417
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/account_manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ use iota_client::{
bee_rest_api::types::dtos::LedgerInclusionStateDto,
};
use serde::Serialize;
use std::str::FromStr;
use tokio::{
sync::{
broadcast::{channel as broadcast_channel, Receiver as BroadcastReceiver, Sender as BroadcastSender},
Expand Down Expand Up @@ -698,7 +697,7 @@ impl AccountManager {
.collect::<String>(),
value: *output_tx.value().to_inner() as u64,
address: AddressWrapper::new(
Address::from_str(&decode_migration_address(output_tx.address().clone())?.to_string())?,
Address::Ed25519(decode_migration_address(output_tx.address().clone())?),
bech32_hrp,
),
})
Expand Down

0 comments on commit df7b417

Please sign in to comment.