From 8bb47de2c0d83bd5157c44f3811ce18f25350650 Mon Sep 17 00:00:00 2001 From: Svyatoslav Nikolsky Date: Mon, 30 Jan 2023 12:32:07 +0300 Subject: [PATCH] Reconnect source client (#1826) * reconnect source client * fix test --- bridges/relays/parachains/src/parachains_loop.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bridges/relays/parachains/src/parachains_loop.rs b/bridges/relays/parachains/src/parachains_loop.rs index 3ef9a7f7a731c..7b62e72ca2930 100644 --- a/bridges/relays/parachains/src/parachains_loop.rs +++ b/bridges/relays/parachains/src/parachains_loop.rs @@ -243,7 +243,7 @@ where P::SourceChain::NAME, e, ); - return Err(FailedClient::Target) + return Err(FailedClient::Source) }, } @@ -844,7 +844,7 @@ mod tests { None, futures::future::pending(), )), - Err(FailedClient::Target), + Err(FailedClient::Source), ); }