We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f9e565 commit 58e15d0Copy full SHA for 58e15d0
client/mapping-sync/src/kv/mod.rs
@@ -186,6 +186,16 @@ where
186
current_syncing_tips.append(&mut leaves);
187
}
188
189
+ let best_hash = client.info().best_hash;
190
+ if SyncStrategy::Parachain == strategy
191
+ && !frontier_backend
192
+ .mapping()
193
+ .is_synced(&best_hash)?
194
+ {
195
+ // Add best block to current_syncing_tips
196
+ current_syncing_tips.push(best_hash);
197
+ }
198
+
199
let mut operating_header = None;
200
while let Some(checking_tip) = current_syncing_tips.pop() {
201
if let Some(checking_header) = fetch_header(
0 commit comments