Skip to content

Commit 00f77c6

Browse files
committed
fixup! patching missed changes from a rebase
1 parent f1633de commit 00f77c6

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

lightning/src/ln/functional_test_utils.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ pub fn create_funding_transaction<'a, 'b, 'c>(node: &Node<'a, 'b, 'c>, expected_
244244
}
245245
}
246246

247-
pub fn create_chan_between_nodes_with_value_init<'a, 'b>(node_a: &Node<'a, 'b>, node_b: &Node<'a, 'b>, channel_value: u64, push_msat: u64, a_flags: InitFeatures, b_flags: InitFeatures) -> Transaction {
247+
pub fn create_chan_between_nodes_with_value_init<'a, 'b, 'c>(node_a: &Node<'a, 'b, 'c>, node_b: &Node<'a, 'b, 'c>, channel_value: u64, push_msat: u64, a_flags: InitFeatures, b_flags: InitFeatures) -> Transaction {
248248
node_a.node.create_channel(node_b.node.get_our_node_id(), channel_value, push_msat, 42, None).unwrap();
249249
node_b.node.handle_open_channel(&node_a.node.get_our_node_id(), a_flags, &get_event_msg!(node_a, MessageSendEvent::SendOpenChannel, node_b.node.get_our_node_id()));
250250
node_a.node.handle_accept_channel(&node_b.node.get_our_node_id(), b_flags, &get_event_msg!(node_b, MessageSendEvent::SendAcceptChannel, node_a.node.get_our_node_id()));

lightning/src/ln/functional_tests.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7301,7 +7301,8 @@ fn test_bump_txn_sanitize_tracking_maps() {
73017301

73027302
#[test]
73037303
fn test_override_channel_config() {
7304-
let node_cfgs = create_node_cfgs(2);
7304+
let chanmon_cfgs = create_chanmon_cfgs(2);
7305+
let node_cfgs = create_node_cfgs(2, &chanmon_cfgs);
73057306
let node_chanmgrs = create_node_chanmgrs(2, &node_cfgs, &[None, None]);
73067307
let nodes = create_network(2, &node_cfgs, &node_chanmgrs);
73077308

0 commit comments

Comments
 (0)