X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=lightning-background-processor%2Fsrc%2Flib.rs;fp=lightning-background-processor%2Fsrc%2Flib.rs;h=77c4fb66847a2303f6e10d1fcc24a37fe7c52cd2;hb=9a438eea3b7ba3c18a36a9c257546fb28f536a50;hp=3fe4da00d4bcc85a07a14e56969d3ba76c03cf32;hpb=0e22b1245af2ddd5b226d989801d5427053dd9ed;p=rust-lightning diff --git a/lightning-background-processor/src/lib.rs b/lightning-background-processor/src/lib.rs index 3fe4da00..77c4fb66 100644 --- a/lightning-background-processor/src/lib.rs +++ b/lightning-background-processor/src/lib.rs @@ -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), }