Skip to content

Commit

Permalink
fixup! update polkadot-parachain to use lookahead collator
Browse files Browse the repository at this point in the history
  • Loading branch information
Sophia-Gold committed Nov 20, 2023
1 parent d60a428 commit 501ae88
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cumulus/polkadot-parachain/src/service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -982,7 +982,7 @@ pub async fn start_rococo_parachain_node(
para_backend: backend.clone(),
relay_client: relay_chain_interface,
code_hash_provider: move |block_hash| {
client.code_at(block_hash).ok().map(ValidationCode).map(|c| c.hash())
client.code_at(block_hash).ok().map(ValidationCode.hash())
},
sync_oracle,
keystore,
Expand Down Expand Up @@ -1621,7 +1621,7 @@ where
para_backend: backend.clone(),
relay_client: relay_chain_interface,
code_hash_provider: move |block_hash| {
client.code_at(block_hash).ok().map(ValidationCode).map(|c| c.hash())
client.code_at(block_hash).ok().map(ValidationCode.hash())
},
sync_oracle,
keystore,
Expand Down

0 comments on commit 501ae88

Please sign in to comment.