Skip to content

Commit fc2919b

Browse files
committed
f Add borowck hints for pre-NLL Rust
1 parent 85c7408 commit fc2919b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lightning/src/ln/channel.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4499,7 +4499,7 @@ mod tests {
44994499
macro_rules! test_commitment {
45004500
( $their_sig_hex: expr, $our_sig_hex: expr, $tx_hex: expr, {
45014501
$( { $htlc_idx: expr, $their_htlc_sig_hex: expr, $our_htlc_sig_hex: expr, $htlc_tx_hex: expr } ), *
4502-
} ) => {
4502+
} ) => { {
45034503
unsigned_tx = {
45044504
let mut res = chan.build_commitment_transaction(0xffffffffffff - 42, &keys, true, false, chan.feerate_per_kw);
45054505
let htlcs = res.2.drain(..)
@@ -4563,7 +4563,7 @@ mod tests {
45634563
if htlc_sig.is_none() { break; }
45644564
assert!((htlc_sig.unwrap().1).1.is_none());
45654565
}
4566-
}
4566+
} }
45674567
}
45684568

45694569
{

0 commit comments

Comments
 (0)