From: Jeffrey Czyz Date: Wed, 26 May 2021 00:13:34 +0000 (-0700) Subject: f - Rename steps to match Build a Node guide X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=bc07db6ca4a3323d8718a27f85182b8157a20750;p=ldk-sample f - Rename steps to match Build a Node guide --- diff --git a/src/main.rs b/src/main.rs index a8b28f5..892fd0e 100644 --- a/src/main.rs +++ b/src/main.rs @@ -490,7 +490,7 @@ async fn start_ldk() { } }); - // Step 15: Event Handling + // Step 15: Handle LDK Events let channel_manager_event_listener = channel_manager.clone(); let keys_manager_listener = keys_manager.clone(); // TODO: persist payment info to disk @@ -512,7 +512,7 @@ async fn start_ldk() { event, )) }; - // Step 16: ChannelManager Persisting + // Step 16: Persist ChannelManager let data_dir = ldk_data_dir.clone(); let persist_channel_manager_callback = move |node: &ChannelManager| FilesystemPersister::persist_manager(data_dir.clone(), &*node);