From 0ff6f54fadae8dc11b3fde401fe6ff21318cfa67 Mon Sep 17 00:00:00 2001 From: Nikolaos Dymitriadis Date: Mon, 24 Feb 2025 11:48:14 +0100 Subject: [PATCH] HexDisplay --- node/runtime/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/node/runtime/src/lib.rs b/node/runtime/src/lib.rs index 14829d9ad..431c73307 100644 --- a/node/runtime/src/lib.rs +++ b/node/runtime/src/lib.rs @@ -434,10 +434,10 @@ impl sp_sidechain::OnNewEpoch for LogBeneficiaries { let slot = pallet_aura::CurrentSlot::::get(); let block_production_log = BlockProductionLog::take_prefix(&slot); if let Some((s, b)) = block_production_log.first() { - log::info!("Block production log head: {} -> {:?}", **s, b) + log::info!("Block production log head: {} -> {:?}", **s, HexDisplay::from(&b.id())) }; if let Some((s, b)) = block_production_log.last() { - log::info!("Block production log tail: {} -> {:?}", **s, b) + log::info!("Block production log tail: {} -> {:?}", **s, HexDisplay::from(&b.id(d)) }; RuntimeDbWeight::get().reads_writes(1, 1) }