Merge branch 'master' into master-sf

This commit is contained in:
pawanjay176
2020-04-30 11:53:32 +05:30
15 changed files with 162 additions and 52 deletions

View File

@@ -147,6 +147,7 @@ pub fn spawn_notifier<T: BeaconChainTypes>(
);
} else {
if sync_state.is_synced() {
let block_info = if current_slot > head_slot { format!(" … empty") } else { format!("{}", head_root) };
info!(
log_2,
"Synced";
@@ -154,6 +155,7 @@ pub fn spawn_notifier<T: BeaconChainTypes>(
"finalized_root" => format!("{}", finalized_root),
"finalized_epoch" => finalized_epoch,
"epoch" => current_epoch,
"block" => block_info,
"slot" => current_slot,
);
} else {