X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=src%2Fln%2Fchannel.rs;h=e71ba9b2c63f151351d60f9f9ce9f46c91620b39;hb=68be3c03531667a1ecae7c67664e0ef71ea98a61;hp=3a627f35baa9548881e8e52f8b1f888abff791a6;hpb=01c8e4f56fed86fdca842a03968741549b336bc1;p=rust-lightning diff --git a/src/ln/channel.rs b/src/ln/channel.rs index 3a627f35..e71ba9b2 100644 --- a/src/ln/channel.rs +++ b/src/ln/channel.rs @@ -2551,10 +2551,7 @@ impl Channel { } } - for htlc in self.pending_outbound_htlcs.drain(..) { - if htlc.state == OutboundHTLCState::LocalAnnounced { - dropped_outbound_htlcs.push((htlc.source, htlc.payment_hash)); - } + 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)