From 1c449a39f4e6abf71e657f1f38827cc68a30e156 Mon Sep 17 00:00:00 2001 From: Jeffrey Czyz Date: Sat, 7 Aug 2021 01:02:11 -0500 Subject: [PATCH] Add features to NodeCfg and use in create_network --- lightning/src/ln/functional_test_utils.rs | 16 +++++++++++++--- lightning/src/ln/functional_tests.rs | 2 +- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/lightning/src/ln/functional_test_utils.rs b/lightning/src/ln/functional_test_utils.rs index 807bb20f7..79f8562c0 100644 --- a/lightning/src/ln/functional_test_utils.rs +++ b/lightning/src/ln/functional_test_utils.rs @@ -199,6 +199,7 @@ pub struct NodeCfg<'a> { pub keys_manager: &'a test_utils::TestKeysInterface, pub logger: &'a test_utils::TestLogger, pub node_seed: [u8; 32], + pub features: InitFeatures, } pub struct Node<'a, 'b: 'a, 'c: 'b> { @@ -1368,7 +1369,16 @@ pub fn create_node_cfgs<'a>(node_count: usize, chanmon_cfgs: &'a Vec(node_count: usize, cfgs: &'b Vec