diff --git a/light-base/src/sync_service/parachain.rs b/light-base/src/sync_service/parachain.rs index 3488b247f3..63e70fe8bb 100644 --- a/light-base/src/sync_service/parachain.rs +++ b/light-base/src/sync_service/parachain.rs @@ -643,14 +643,6 @@ impl ParachainBackgroundTask { continue; } - log!( - &self.platform, - Debug, - &self.log_target, - "subscriptions-notify-new-parablock", - hash = HashDisplay(¶hash) - ); - if is_new_best { runtime_subscription.reported_best_parahead_hash = Some(parahash); @@ -671,6 +663,16 @@ impl ParachainBackgroundTask { .unwrap_or(finalized_parahead), ); + log!( + &self.platform, + Debug, + &self.log_target, + "subscriptions-notify-new-parablock", + hash = HashDisplay(¶hash), + parent_hash = HashDisplay(&parent_hash), + ?is_new_best + ); + // Elements in `all_subscriptions` are removed one by one and // inserted back if the channel is still open. for index in (0..runtime_subscription.all_subscriptions.len()).rev()