Add further clarification TODO in finish_force_close_channel 2018-09-chan-cleanups
authorMatt Corallo <git@bluematt.me>
Thu, 6 Sep 2018 00:19:09 +0000 (20:19 -0400)
committerMatt Corallo <git@bluematt.me>
Thu, 6 Sep 2018 00:32:16 +0000 (20:32 -0400)
src/ln/channelmanager.rs

index 825669402313581033fbe3dc95dbc18ba8a0bcc3..8abaf14603df93b01b19098649281ebcbd042a3c 100644 (file)
@@ -447,6 +447,8 @@ impl ChannelManager {
                //TODO: We need to handle monitoring of pending offered HTLCs which just hit the chain and
                //may be claimed, resulting in us claiming the inbound HTLCs (and back-failing after
                //timeouts are hit and our claims confirm).
+               //TODO: In any case, we need to make sure we remove any pending htlc tracking (via
+               //fail_backwards or claim_funds) eventually for all HTLCs that were in the channel
        }
 
        /// Force closes a channel, immediately broadcasting the latest local commitment transaction to