Skip to content

Commit 5fa80d0

Browse files
authored
Merge pull request lightningdevkit#37 from TheBlueMatt/master
Fix additional 1.22 rustc warning
2 parents 5918df8 + 1228663 commit 5fa80d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ln/channel.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1313,7 +1313,7 @@ impl Channel {
13131313
/// Removes an outbound HTLC which has been commitment_signed by the remote end
13141314
#[inline]
13151315
fn mark_outbound_htlc_removed(&mut self, htlc_id: u64, check_preimage: Option<[u8; 32]>, fail_reason: Option<HTLCFailReason>) -> Result<[u8; 32], HandleError> {
1316-
for mut htlc in self.pending_htlcs.iter_mut() {
1316+
for htlc in self.pending_htlcs.iter_mut() {
13171317
if htlc.outbound && htlc.htlc_id == htlc_id {
13181318
match check_preimage {
13191319
None => {},

0 commit comments

Comments
 (0)