]> git.bitcoin.ninja Git - ldk-sample/commitdiff
Fix on-startup peer connection due to missing await.
authorMatt Corallo <git@bluematt.me>
Wed, 5 May 2021 20:48:43 +0000 (20:48 +0000)
committerMatt Corallo <git@bluematt.me>
Mon, 10 May 2021 19:18:40 +0000 (19:18 +0000)
src/main.rs

index 31fb84eeebeb8e79f19602b41b12fec47558bc1f..b9104ede73c68b6b497b62be6cd60ad22ddb4d8c 100644 (file)
@@ -569,7 +569,8 @@ async fn start_ldk() {
                                                        peer_addr,
                                                        peer_manager.clone(),
                                                        event_ntfn_sender.clone(),
-                                               );
+                                               )
+                                               .await;
                                        }
                                }
                        }