Pass `counterparty_node_id` to `funding_transaction_generated`
[rust-lightning] / fuzz / src / chanmon_consistency.rs
index 8472f8fa6278a4e158e810a600895545cbbd27ae..a86f1e5e0118e38ac1fc2812b99377a2f595dda4 100644 (file)
@@ -442,7 +442,7 @@ pub fn do_test<Out: Output>(data: &[u8], underlying_out: Out) {
                                                value: *channel_value_satoshis, script_pubkey: output_script.clone(),
                                        }]};
                                        funding_output = OutPoint { txid: tx.txid(), index: 0 };
-                                       $source.funding_transaction_generated(&temporary_channel_id, tx.clone()).unwrap();
+                                       $source.funding_transaction_generated(&temporary_channel_id, &$dest.get_our_node_id(), tx.clone()).unwrap();
                                        channel_txn.push(tx);
                                } else { panic!("Wrong event type"); }
                        }