Skip to content

Commit 1228663

Browse files
committed
Fix additional 1.22 rustc warning
1 parent 98e5c5e commit 1228663

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
@@ -1314,7 +1314,7 @@ impl Channel {
13141314
/// Removes an outbound HTLC which has been commitment_signed by the remote end
13151315
#[inline]
13161316
fn mark_outbound_htlc_removed(&mut self, htlc_id: u64, check_preimage: Option<[u8; 32]>, fail_reason: Option<HTLCFailReason>) -> Result<[u8; 32], HandleError> {
1317-
for mut htlc in self.pending_htlcs.iter_mut() {
1317+
for htlc in self.pending_htlcs.iter_mut() {
13181318
if htlc.outbound && htlc.htlc_id == htlc_id {
13191319
match check_preimage {
13201320
None => {},

0 commit comments

Comments
 (0)