From: Matt Corallo Date: Wed, 5 May 2021 20:48:43 +0000 (+0000) Subject: Fix on-startup peer connection due to missing await. X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=5e92169f4083d53a6c21ab8cf5c903eb9e9b527d;p=ldk-sample Fix on-startup peer connection due to missing await. --- diff --git a/src/main.rs b/src/main.rs index 31fb84e..b9104ed 100644 --- a/src/main.rs +++ b/src/main.rs @@ -569,7 +569,8 @@ async fn start_ldk() { peer_addr, peer_manager.clone(), event_ntfn_sender.clone(), - ); + ) + .await; } } }