Skip to content

Commit

Permalink
alby: always do full onchain sync
Browse files Browse the repository at this point in the history
  • Loading branch information
rolznz committed Nov 2, 2024
1 parent 9bd2cd4 commit d8d0557
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/chain/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -417,8 +417,8 @@ impl ChainSource {
let res = {
// If this is our first sync, do a full scan with the configured gap limit.
// Otherwise just do an incremental sync.
let incremental_sync =
node_metrics.read().unwrap().latest_onchain_wallet_sync_timestamp.is_some();
// Alby: always do full sync
let incremental_sync = false; //node_metrics.read().unwrap().latest_onchain_wallet_sync_timestamp.is_some();

log_info!(logger, "Starting onchain wallet sync");

Expand Down

0 comments on commit d8d0557

Please sign in to comment.