From: Matt Corallo Date: Fri, 21 Feb 2020 22:10:03 +0000 (-0500) Subject: Drop TODO which was implemented long ago X-Git-Tag: v0.0.12~119^2 X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=08db88c673b6009388d0232396607ab2e0dbcdb6;p=rust-lightning Drop TODO which was implemented long ago --- diff --git a/lightning/src/ln/channelmonitor.rs b/lightning/src/ln/channelmonitor.rs index bbcbe75c6..c48026093 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() {