From 90f2b3c3653af75d8e2c47250011cc722d8c66cf Mon Sep 17 00:00:00 2001 From: Svyatoslav Nikolsky Date: Mon, 6 Dec 2021 15:22:37 +0300 Subject: [PATCH] post-merge build fix (#1243) --- bridges/relays/lib-substrate-relay/src/on_demand_headers.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bridges/relays/lib-substrate-relay/src/on_demand_headers.rs b/bridges/relays/lib-substrate-relay/src/on_demand_headers.rs index 5f98d1441d64..1bd0b0b729c4 100644 --- a/bridges/relays/lib-substrate-relay/src/on_demand_headers.rs +++ b/bridges/relays/lib-substrate-relay/src/on_demand_headers.rs @@ -116,6 +116,7 @@ async fn background_task( P::TransactionSignScheme: TransactionSignScheme, { let relay_task_name = on_demand_headers_relay_name::(); + let target_transactions_mortality = target_transaction_params.transactions_mortality; let mut finality_source = SubstrateFinalitySource::

::new( source_client.clone(), Some(required_header_number.clone()), @@ -222,7 +223,7 @@ async fn background_task( recent_finality_proofs_limit: RECENT_FINALITY_PROOFS_LIMIT, stall_timeout: relay_substrate_client::transaction_stall_timeout( target_transactions_mortality, - TargetChain::AVERAGE_BLOCK_INTERVAL, + P::TargetChain::AVERAGE_BLOCK_INTERVAL, STALL_TIMEOUT, ), only_mandatory_headers,