diff --git a/Cargo.toml b/Cargo.toml index 68393d2..5579173 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ghost-eye" -version = "0.2.0" +version = "0.2.1" edition = "2021" [dependencies] diff --git a/src/components/wallet/accounts.rs b/src/components/wallet/accounts.rs index 5c16b0b..114b82c 100644 --- a/src/components/wallet/accounts.rs +++ b/src/components/wallet/accounts.rs @@ -178,13 +178,12 @@ impl Accounts { let pair_signer = PairSigner::::new(pair); self.wallet_keys.push((wallet_name.to_string(), address, wallet_key.to_string(), pair_signer)); - - if let Some(action_tx) = &self.action_tx { - let _ = action_tx.send(Action::WalletLog( - format!("read {} wallets from disk", self.wallet_keys.len()), - ActionLevel::Info, - )); - } + } + if let Some(action_tx) = &self.action_tx { + let _ = action_tx.send(Action::WalletLog( + format!("read {} wallets from disk", self.wallet_keys.len()), + ActionLevel::Info, + )); } }, Err(_) => {