diff --git a/subxt/src/backend/unstable/mod.rs b/subxt/src/backend/unstable/mod.rs index 7ecc37fdaa..f6d13006d9 100644 --- a/subxt/src/backend/unstable/mod.rs +++ b/subxt/src/backend/unstable/mod.rs @@ -485,7 +485,11 @@ impl Backend for UnstableBackend { if let Poll::Ready(Some(seen_block)) = seen_blocks_sub.poll_next_unpin(cx) { match seen_block { FollowEvent::NewBlock(new_block) => { - chainhead_logs.push((now.elapsed(), "new", new_block.hash())); + chainhead_logs.push(( + now.elapsed(), + "new", + new_block.block_hash.hash(), + )); seen_blocks.insert( new_block.block_hash.hash(), @@ -494,11 +498,7 @@ impl Backend for UnstableBackend { } FollowEvent::Finalized(finalized_block) => { for block_ref in finalized_block.finalized_block_hashes { - chainhead_logs.push(( - now.elapsed().as_secs(), - "finalized", - block_ref.hash(), - )); + chainhead_logs.push((now.elapsed(), "finalized", block_ref.hash())); seen_blocks.insert( block_ref.hash(),