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 69a75b4 commit 5afb7b5Copy full SHA for 5afb7b5
lightning/src/ln/channelmonitor.rs
@@ -1313,7 +1313,6 @@ impl<ChanSigner: ChannelKeys> ChannelMonitor<ChanSigner> {
1313
1314
// Prune HTLCs from the previous remote commitment tx so we don't generate failure/fulfill
1315
// events for now-revoked/fulfilled HTLCs.
1316
- // TODO: We should probably consider whether we're really getting the next secret here.
1317
if let Storage::Local { ref mut prev_remote_commitment_txid, .. } = self.key_storage {
1318
if let Some(txid) = prev_remote_commitment_txid.take() {
1319
for &mut (_, ref mut source) in self.remote_claimable_outpoints.get_mut(&txid).unwrap() {
0 commit comments