Skip to content

Commit 90d3961

Browse files
committed
Clean up comments broken by rustfmt
In c0fbe42 we ran `rustfmt` on some code in `channel.rs`, which broke some comments which referred to code on a specific line. Here we fix those comments.
1 parent 9ed463f commit 90d3961

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lightning/src/ln/channel.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6024,13 +6024,13 @@ where
60246024
2*(1 + 71); // two signatures + sighash type flags
60256025
if let Some(spk) = a_scriptpubkey {
60266026
ret += ((8+1) + // output values and script length
6027-
spk.len() as u64)
6028-
* 4; // scriptpubkey and witness multiplier
6027+
spk.len() as u64) // scriptpubkey
6028+
* 4; // witness multiplier
60296029
}
60306030
if let Some(spk) = b_scriptpubkey {
60316031
ret += ((8+1) + // output values and script length
6032-
spk.len() as u64)
6033-
* 4; // scriptpubkey and witness multiplier
6032+
spk.len() as u64) // scriptpubkey
6033+
* 4; // witness multiplier
60346034
}
60356035
ret
60366036
}

0 commit comments

Comments
 (0)