Add channel_id to SpendableOutputs event
[rust-lightning] / lightning / src / ln / functional_tests.rs
index d794d122e91882beb165ead2bd06cccd6f907d14..9a4dd3fdf8a8996d99e27d5232ff97807f47db19 100644 (file)
@@ -4302,7 +4302,7 @@ macro_rules! check_spendable_outputs {
                        let secp_ctx = Secp256k1::new();
                        for event in events.drain(..) {
                                match event {
-                                       Event::SpendableOutputs { mut outputs } => {
+                                       Event::SpendableOutputs { mut outputs, channel_id: _ } => {
                                                for outp in outputs.drain(..) {
                                                        txn.push($keysinterface.backing.spend_spendable_outputs(&[&outp], Vec::new(), Builder::new().push_opcode(opcodes::all::OP_RETURN).into_script(), 253, None, &secp_ctx).unwrap());
                                                        all_outputs.push(outp);