+ }, true, Some(UPDATE|7), Some(NetworkUpdate::ChannelUpdateMessage{msg: ChannelUpdate::dummy(short_channel_id)}), Some(short_channel_id));
+ run_onion_failure_test("channel_disabled", 0, &nodes, &route, &payment_hash, &payment_secret, |_| {}, || {
+ // Tick the timer twice on each node to mark the channel as disabled.
+ nodes[1].node.timer_tick_occurred();
+ nodes[1].node.timer_tick_occurred();
+ nodes[1].node.get_and_clear_pending_msg_events();
+ nodes[2].node.timer_tick_occurred();
+ nodes[2].node.timer_tick_occurred();
+ nodes[2].node.get_and_clear_pending_msg_events();