Skip to content

Commit

Permalink
Merge pull request #2653 from dusk-network/fix-2648
Browse files Browse the repository at this point in the history
rusk-wallet: Move is_synced inside the loop of interactive
  • Loading branch information
Daksh14 authored Oct 11, 2024
2 parents 4bbf0d4 + 8583de8 commit 4030d13
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions rusk-wallet/src/bin/interactive.rs
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,8 @@ pub(crate) async fn run_loop(
AddrSelect::Exit => std::process::exit(0),
};

let is_synced = wallet.is_synced().await?;

loop {
let is_synced = wallet.is_synced().await?;
// get balance for this address
prompt::hide_cursor()?;
let moonlight_bal = wallet.get_moonlight_balance(addr_idx).await?;
Expand Down

0 comments on commit 4030d13

Please sign in to comment.