Skip to content

Commit

Permalink
Revert change of added logs to service.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
olanod committed Jul 13, 2024
1 parent 94befc8 commit a432c47
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions node/src/service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -200,13 +200,7 @@ fn start_consensus(
para_client: client.clone(),
para_backend: backend,
relay_client: relay_chain_interface,
code_hash_provider: move |block_hash| {
use polkadot_cli::service::HeaderProvider;
let code_hash = client.code_at(block_hash).ok().map(|c| ValidationCode::from(c).hash());
let number = client.number(block_hash).expect("block exists; qed");
log::trace!(">>> providing code hash for Aura: block_number = {number:?}, block_hash = {block_hash:?}, code_hash = {code_hash:?} <<<");
client.code_at(block_hash).ok().map(|c| ValidationCode::from(c).hash())
},
code_hash_provider: move |block_hash| client.code_at(block_hash).ok().map(|c| ValidationCode::from(c).hash()),
sync_oracle,
keystore,
collator_key,
Expand Down

0 comments on commit a432c47

Please sign in to comment.