Skip to content

Commit

Permalink
calculate min_synced_block_index using local_block_height instead of …
Browse files Browse the repository at this point in the history
…network_block_height (#1018)
  • Loading branch information
holtzman authored Nov 8, 2024
1 parent 9ca5f71 commit 05e6739
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion full-service/src/service/balance.rs
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ where

let mut balance_per_token = BTreeMap::new();

let mut min_synced_block_index = network_status.network_block_height.saturating_sub(1);
let mut min_synced_block_index = network_status.local_block_height.saturating_sub(1);
let mut account_ids = Vec::new();

for account in accounts {
Expand Down

0 comments on commit 05e6739

Please sign in to comment.