Skip to content

Commit

Permalink
HexDisplay
Browse files Browse the repository at this point in the history
  • Loading branch information
AmbientTea committed Feb 24, 2025
1 parent eb2c8cd commit 0ff6f54
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions node/runtime/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -434,10 +434,10 @@ impl sp_sidechain::OnNewEpoch for LogBeneficiaries {
let slot = pallet_aura::CurrentSlot::<Runtime>::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)
}
Expand Down

0 comments on commit 0ff6f54

Please sign in to comment.