]> git.bitcoin.ninja Git - rust-lightning/commit
Remove unreachable handling of htlc_forwards upon channel_reestablish
authorWilmer Paulino <wilmer@wilmerpaulino.com>
Mon, 22 Jan 2024 23:28:59 +0000 (15:28 -0800)
committerWilmer Paulino <wilmer@wilmerpaulino.com>
Wed, 27 Mar 2024 21:28:00 +0000 (14:28 -0700)
commit60ddd5d036f84f8df1be9aa27998873c40a341d2
tree598e136fc74371ac1952c8eafda8afb4d632fad6
parent4ad00f4074bfaf3ae5e6aa816aaa488d473624ed
Remove unreachable handling of htlc_forwards upon channel_reestablish

`htlc_forwards` only returns a `Some` value from
`handle_channel_resumption` if we provide it a non-empty
`pending_forwards`. Since we don't, we'll never have a value to handle.
lightning/src/ln/channelmanager.rs