X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=lightning%2Fsrc%2Fln%2Fchannelmonitor.rs;h=c480260938e1e221973b19f2ff7840c2b7c863e7;hb=08db88c673b6009388d0232396607ab2e0dbcdb6;hp=bbcbe75c67bf43bc78c0069e734c11ecff3ee447;hpb=ab7a0a54318cdd55bedc3a02604af200b16e2e2c;p=rust-lightning diff --git a/lightning/src/ln/channelmonitor.rs b/lightning/src/ln/channelmonitor.rs index bbcbe75c..c4802609 100644 --- a/lightning/src/ln/channelmonitor.rs +++ b/lightning/src/ln/channelmonitor.rs @@ -1325,7 +1325,6 @@ impl ChannelMonitor { // 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() {