Skip to content
Snippets Groups Projects
Commit 1abd5cb6 authored by Svyatoslav Nikolsky's avatar Svyatoslav Nikolsky Committed by Bastian Köcher
Browse files

restart relay loop when proof genration fails (#1585)

parent 5ff36549
Branches
No related merge requests found
......@@ -395,7 +395,7 @@ pub async fn run<P: MessageRace, SC: SourceClient<P>, TC: TargetClient<P>>(
&mut source_go_offline_future,
async_std::task::sleep,
|| format!("Error generating proof at {}", P::source_name()),
).fail_if_connection_error(FailedClient::Source)?;
).fail_if_error(FailedClient::Source).map(|_| true)?;
},
proof_submit_result = target_submit_proof => {
target_client_is_online = process_future_result(
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment