Skip to content

Commit 26caf16

Browse files
committed
f msrv 2
1 parent 0582fb6 commit 26caf16

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lightning/src/ln/payment_tests.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -621,10 +621,10 @@ fn do_test_completed_payment_not_retryable_on_reload(use_dust: bool) {
621621
&mut chan_0_monitor_read, keys_manager).unwrap();
622622
assert!(chan_0_monitor_read.is_empty());
623623

624+
let mut chan_1_monitor = None;
624625
let mut channel_monitors = HashMap::new();
625626
channel_monitors.insert(chan_0_monitor.get_funding_txo().0, &mut chan_0_monitor);
626627

627-
let mut chan_1_monitor = None;
628628
if !chan_1_monitor_serialized.0.is_empty() {
629629
let mut chan_1_monitor_read = &chan_1_monitor_serialized.0[..];
630630
chan_1_monitor = Some(<(BlockHash, ChannelMonitor<EnforcingSigner>)>::read(

0 commit comments

Comments
 (0)