mirror of
https://github.com/lightningdevkit/rust-lightning.git
synced 2025-02-24 23:08:36 +01:00
Fix additional 1.22 rustc warning
This commit is contained in:
parent
98e5c5e4d3
commit
1228663b3e
1 changed files with 1 additions and 1 deletions
|
@ -1314,7 +1314,7 @@ impl Channel {
|
|||
/// Removes an outbound HTLC which has been commitment_signed by the remote end
|
||||
#[inline]
|
||||
fn mark_outbound_htlc_removed(&mut self, htlc_id: u64, check_preimage: Option<[u8; 32]>, fail_reason: Option<HTLCFailReason>) -> Result<[u8; 32], HandleError> {
|
||||
for mut htlc in self.pending_htlcs.iter_mut() {
|
||||
for htlc in self.pending_htlcs.iter_mut() {
|
||||
if htlc.outbound && htlc.htlc_id == htlc_id {
|
||||
match check_preimage {
|
||||
None => {},
|
||||
|
|
Loading…
Add table
Reference in a new issue