mirror of
https://github.com/lightningdevkit/rust-lightning.git
synced 2025-02-24 23:08:36 +01:00
Drop TODO which was implemented long ago
This commit is contained in:
parent
ab7a0a5431
commit
08db88c673
1 changed files with 0 additions and 1 deletions
|
@ -1325,7 +1325,6 @@ impl<ChanSigner: ChannelKeys> ChannelMonitor<ChanSigner> {
|
|||
|
||||
// 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() {
|
||||
|
|
Loading…
Add table
Reference in a new issue