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 87cf3a5 commit 0541124Copy full SHA for 0541124
lightning/src/ln/channelmonitor.rs
@@ -1323,7 +1323,6 @@ impl<ChanSigner: ChannelKeys> ChannelMonitor<ChanSigner> {
1323
1324
// Prune HTLCs from the previous remote commitment tx so we don't generate failure/fulfill
1325
// events for now-revoked/fulfilled HTLCs.
1326
- // TODO: We should probably consider whether we're really getting the next secret here.
1327
if let Storage::Local { ref mut prev_remote_commitment_txid, .. } = self.key_storage {
1328
if let Some(txid) = prev_remote_commitment_txid.take() {
1329
for &mut (_, ref mut source) in self.remote_claimable_outpoints.get_mut(&txid).unwrap() {
0 commit comments