@@ -2178,7 +2178,7 @@ fn channel_monitor_network_test() {
2178
2178
send_payment(&nodes[0], &vec!(&nodes[1], &nodes[2], &nodes[3], &nodes[4])[..], 8000000);
2179
2179
2180
2180
// Simple case with no pending HTLCs:
2181
- nodes[1].node.force_close_channel(&chan_1.2).unwrap();
2181
+ nodes[1].node.force_close_channel(&chan_1.2, &nodes[0].node.get_our_node_id() ).unwrap();
2182
2182
check_added_monitors!(nodes[1], 1);
2183
2183
check_closed_broadcast!(nodes[1], true);
2184
2184
{
@@ -2199,7 +2199,7 @@ fn channel_monitor_network_test() {
2199
2199
2200
2200
// Simple case of one pending HTLC to HTLC-Timeout (note that the HTLC-Timeout is not
2201
2201
// broadcasted until we reach the timelock time).
2202
- nodes[1].node.force_close_channel(&chan_2.2).unwrap();
2202
+ nodes[1].node.force_close_channel(&chan_2.2, &nodes[2].node.get_our_node_id() ).unwrap();
2203
2203
check_closed_broadcast!(nodes[1], true);
2204
2204
check_added_monitors!(nodes[1], 1);
2205
2205
{
@@ -2238,7 +2238,7 @@ fn channel_monitor_network_test() {
2238
2238
2239
2239
// nodes[3] gets the preimage, but nodes[2] already disconnected, resulting in a nodes[2]
2240
2240
// HTLC-Timeout and a nodes[3] claim against it (+ its own announces)
2241
- nodes[2].node.force_close_channel(&chan_3.2).unwrap();
2241
+ nodes[2].node.force_close_channel(&chan_3.2, &nodes[3].node.get_our_node_id() ).unwrap();
2242
2242
check_added_monitors!(nodes[2], 1);
2243
2243
check_closed_broadcast!(nodes[2], true);
2244
2244
let node2_commitment_txid;
0 commit comments