Skip to content

Commit

Permalink
ooops
Browse files Browse the repository at this point in the history
  • Loading branch information
marc2332 committed Jan 8, 2024
1 parent f69514a commit 2fe5756
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sdk/src/wallet/core/operations/background_syncing.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,11 @@ where
loop {
log::debug!("[background_syncing]: syncing wallet");

if let Err(err) = wallet.sync(interval_seconds.clone()).await {
if let Err(err) = wallet.sync(options.clone()).await {
log::debug!("[background_syncing] error: {}", err)
}

let res = timeout(seconds, async {
let res = timeout(interval_seconds, async {
rx_background_sync
.wait_for(|status| *status == BackgroundSyncStatus::Stopping)
.await
Expand Down

0 comments on commit 2fe5756

Please sign in to comment.