We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 52605c2 commit c1aebf7Copy full SHA for c1aebf7
lightning/src/ln/channelmonitor.rs
@@ -1325,7 +1325,6 @@ impl<ChanSigner: ChannelKeys> ChannelMonitor<ChanSigner> {
1325
1326
// Prune HTLCs from the previous remote commitment tx so we don't generate failure/fulfill
1327
// events for now-revoked/fulfilled HTLCs.
1328
- // TODO: We should probably consider whether we're really getting the next secret here.
1329
if let Storage::Local { ref mut prev_remote_commitment_txid, .. } = self.key_storage {
1330
if let Some(txid) = prev_remote_commitment_txid.take() {
1331
for &mut (_, ref mut source) in self.remote_claimable_outpoints.get_mut(&txid).unwrap() {
0 commit comments