From 1d26d36b55686874de1a691e93b71f8d8ce2e441 Mon Sep 17 00:00:00 2001 From: Daksh <41485688+Daksh14@users.noreply.github.com> Date: Fri, 11 Oct 2024 14:03:09 -0400 Subject: [PATCH] s --- rusk-wallet/src/bin/interactive.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/rusk-wallet/src/bin/interactive.rs b/rusk-wallet/src/bin/interactive.rs index ce7aef3ee4..bedd7ba3f8 100644 --- a/rusk-wallet/src/bin/interactive.rs +++ b/rusk-wallet/src/bin/interactive.rs @@ -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; @@ -200,8 +200,6 @@ fn menu_addr(wallet: &Wallet) -> anyhow::Result { .add(AddrSelect::NewAddress, "New address") }; - use rusk_wallet::SyncStatus; - if let Some(rx) = &wallet.state()?.sync_rx { match rx.try_recv() { Ok(status) => {