Fix on demand parachains relay when no parachain head at target (#1834)

* `best_finalized_peer_at_best_self` in messages relay is now Option<> - before it was an error, which effectively blocked the lane

* unnecessary mut

* clone on return
This commit is contained in:
Svyatoslav Nikolsky authored and Bastian Köcher committed 2024-04-10 10:28:37 +02:00
1 parent 947a0a695b
commit f0c4073dc6
6 files changed
+150 -98

No files matched your search

@@ -102,7 +102,8 @@ where
None,
)
.await?
.best_finalized_peer_at_best_self)
.best_finalized_peer_at_best_self
.ok_or(Error::BridgePalletIsNotInitialized)?)
}
async fn submit_finality_proof(