@@ -13,9 +13,9 @@ use common::{
1313 expect_payment_claimable_event, expect_payment_received_event, expect_payment_successful_event,
1414 generate_blocks_and_wait,
1515 logging:: { init_log_logger, validate_log_entry, TestLogWriter } ,
16- open_channel, premine_and_distribute_funds, premine_blocks, prepare_rbf, random_config ,
17- random_listening_addresses, setup_bitcoind_and_electrsd, setup_builder, setup_node ,
18- setup_two_nodes, wait_for_tx, TestChainSource , TestSyncStore ,
16+ new_node , open_channel, premine_and_distribute_funds, premine_blocks, prepare_rbf,
17+ random_config , random_listening_addresses, setup_bitcoind_and_electrsd, setup_builder,
18+ setup_node , setup_two_nodes, wait_for_tx, TestChainSource , TestSyncStore ,
1919} ;
2020
2121use ldk_node:: config:: EsploraSyncConfig ;
@@ -690,18 +690,11 @@ fn run_rbf_test(is_insert_block: bool) {
690690 let chain_source_electrsd = TestChainSource :: Electrum ( & electrsd) ;
691691 let chain_source_esplora = TestChainSource :: Esplora ( & electrsd) ;
692692
693- macro_rules! config_node {
694- ( $chain_source: expr, $anchor_channels: expr) => { {
695- let config_a = random_config( $anchor_channels) ;
696- let node = setup_node( & $chain_source, config_a, None ) ;
697- node
698- } } ;
699- }
700693 let anchor_channels = false ;
701694 let nodes = vec ! [
702- config_node! ( chain_source_electrsd , anchor_channels) ,
703- config_node! ( chain_source_bitcoind , anchor_channels) ,
704- config_node! ( chain_source_esplora, anchor_channels) ,
695+ new_node ( & chain_source_bitcoind , anchor_channels) ,
696+ new_node ( & chain_source_electrsd , anchor_channels) ,
697+ new_node ( & chain_source_esplora, anchor_channels) ,
705698 ] ;
706699
707700 let ( bitcoind, electrs) = ( & bitcoind. client , & electrsd. client ) ;
0 commit comments