Merge pull request #745 from ariard/2020-11-getting-started
authorMatt Corallo <649246+TheBlueMatt@users.noreply.github.com>
Thu, 12 Nov 2020 17:59:07 +0000 (09:59 -0800)
committerGitHub <noreply@github.com>
Thu, 12 Nov 2020 17:59:07 +0000 (09:59 -0800)
Add a Getting Started in CONTRIBUTING.md

lightning/src/ln/channel.rs

index 8782bb3ac405569cd9d029949c939cd38b0041ae..c34fc6a38c28e5ae89a5cd98e094ee7a5348781a 100644 (file)
@@ -4017,12 +4017,6 @@ impl<ChanSigner: ChannelKeys> Channel<ChanSigner> {
                        }
                }
 
-               for _htlc in self.pending_outbound_htlcs.drain(..) {
-                       //TODO: Do something with the remaining HTLCs
-                       //(we need to have the ChannelManager monitor them so we can claim the inbound HTLCs
-                       //which correspond)
-               }
-
                self.channel_state = ChannelState::ShutdownComplete as u32;
                self.update_time_counter += 1;
                self.latest_monitor_update_id += 1;