Skip to content

Commit

Permalink
s
Browse files Browse the repository at this point in the history
  • Loading branch information
Daksh14 committed Oct 11, 2024
1 parent e0e979f commit 1d26d36
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions rusk-wallet/src/bin/interactive.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ use requestty::Question;
use rusk_wallet::{
currency::Dusk,
dat::{DatFileVersion, LATEST_VERSION},
gas, Address, Error, Wallet, WalletPath, MAX_ADDRESSES,
gas, Address, Error, SyncStatus, Wallet, WalletPath, MAX_ADDRESSES,
};

use crate::command::DEFAULT_STAKE_GAS_LIMIT;
Expand Down Expand Up @@ -200,8 +200,6 @@ fn menu_addr(wallet: &Wallet<WalletFile>) -> anyhow::Result<AddrSelect> {
.add(AddrSelect::NewAddress, "New address")
};

use rusk_wallet::SyncStatus;

if let Some(rx) = &wallet.state()?.sync_rx {
match rx.try_recv() {
Ok(status) => {
Expand Down

0 comments on commit 1d26d36

Please sign in to comment.