Drop TODO which was implemented long ago 2020-02-chan-updates
authorMatt Corallo <git@bluematt.me>
Fri, 21 Feb 2020 22:10:03 +0000 (17:10 -0500)
committerMatt Corallo <git@bluematt.me>
Thu, 27 Feb 2020 00:15:32 +0000 (19:15 -0500)
lightning/src/ln/channelmonitor.rs

index bbcbe75c67bf43bc78c0069e734c11ecff3ee447..c480260938e1e221973b19f2ff7840c2b7c863e7 100644 (file)
@@ -1325,7 +1325,6 @@ impl<ChanSigner: ChannelKeys> ChannelMonitor<ChanSigner> {
 
                // Prune HTLCs from the previous remote commitment tx so we don't generate failure/fulfill
                // events for now-revoked/fulfilled HTLCs.
-               // TODO: We should probably consider whether we're really getting the next secret here.
                if let Storage::Local { ref mut prev_remote_commitment_txid, .. } = self.key_storage {
                        if let Some(txid) = prev_remote_commitment_txid.take() {
                                for &mut (_, ref mut source) in self.remote_claimable_outpoints.get_mut(&txid).unwrap() {