Skip to content

Commit 0c2689f

Browse files
committed
f Add borowck hints for pre-NLL Rust
1 parent 2d7ce22 commit 0c2689f

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
@@ -4479,7 +4479,7 @@ mod tests {
44794479
macro_rules! test_commitment {
44804480
( $their_sig_hex: expr, $our_sig_hex: expr, $tx_hex: expr, {
44814481
$( { $htlc_idx: expr, $their_htlc_sig_hex: expr, $our_htlc_sig_hex: expr, $htlc_tx_hex: expr } ), *
4482-
} ) => {
4482+
} ) => { {
44834483
unsigned_tx = {
44844484
let mut res = chan.build_commitment_transaction(0xffffffffffff - 42, &keys, true, false, chan.feerate_per_kw);
44854485
let htlcs = res.2.drain(..)
@@ -4543,7 +4543,7 @@ mod tests {
45434543
if htlc_sig.is_none() { break; }
45444544
assert!((htlc_sig.unwrap().1).1.is_none());
45454545
}
4546-
}
4546+
} }
45474547
}
45484548

45494549
{

0 commit comments

Comments
 (0)