Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Apply suggestions from code review
  • Loading branch information
bkchr authored Feb 1, 2020
commit 00b113622d40c260eb931700e7fcb52f076d6abf
4 changes: 2 additions & 2 deletions collator/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,8 @@ where
let inherent_providers = self.inherent_data_providers.clone();
let block_import = self.block_import.clone();

trace!(target: "cumulus-collator", "Producing candidate");

let last_head = match HeadData::<Block>::decode(&mut &status.head_data.0[..]) {
Ok(x) => x,
Err(e) => {
Expand All @@ -133,8 +135,6 @@ where
.init(&last_head.header);

Box::pin(async move {
trace!(target: "cumulus-collator", "Producing candidate");

let parent_state_root = *last_head.header.state_root();

let mut proposer = proposer_future
Expand Down