]> git.bitcoin.ninja Git - ldk-sample/commitdiff
f - Rename steps to match Build a Node guide
authorJeffrey Czyz <jkczyz@gmail.com>
Wed, 26 May 2021 00:13:34 +0000 (17:13 -0700)
committerJeffrey Czyz <jkczyz@gmail.com>
Wed, 26 May 2021 00:14:29 +0000 (17:14 -0700)
src/main.rs

index a8b28f57d12b5056df3031f88dbcf0fdae31cabb..892fd0ebe3b55ddce50c8a9222283bc73169787d 100644 (file)
@@ -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);