From 501ae88d612e37d7d1025863d727fe9efa8fb4dd Mon Sep 17 00:00:00 2001 From: Sophia Gold Date: Mon, 20 Nov 2023 13:35:08 -0500 Subject: [PATCH] fixup! update polkadot-parachain to use lookahead collator --- cumulus/polkadot-parachain/src/service.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cumulus/polkadot-parachain/src/service.rs b/cumulus/polkadot-parachain/src/service.rs index 5cb42233b5f85..33b0aca6312f6 100644 --- a/cumulus/polkadot-parachain/src/service.rs +++ b/cumulus/polkadot-parachain/src/service.rs @@ -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, @@ -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,