Merge pull request #3015 from tnull/2024-04-sweeper-error-on-persistence-failure
[rust-lightning] / lightning-background-processor / src / lib.rs
index 3fe4da00d4bcc85a07a14e56969d3ba76c03cf32..77c4fb66847a2303f6e10d1fcc24a37fe7c52cd2 100644 (file)
@@ -1665,7 +1665,7 @@ mod tests {
                        .expect("Events not handled within deadline");
                match event {
                        Event::SpendableOutputs { outputs, channel_id } => {
-                               nodes[0].sweeper.track_spendable_outputs(outputs, channel_id, false, Some(153));
+                               nodes[0].sweeper.track_spendable_outputs(outputs, channel_id, false, Some(153)).unwrap();
                        },
                        _ => panic!("Unexpected event: {:?}", event),
                }