@@ -13,9 +13,9 @@ use common::{
13
13
expect_payment_claimable_event, expect_payment_received_event, expect_payment_successful_event,
14
14
generate_blocks_and_wait,
15
15
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 ,
19
19
} ;
20
20
21
21
use ldk_node:: config:: EsploraSyncConfig ;
@@ -690,18 +690,11 @@ fn run_rbf_test(is_insert_block: bool) {
690
690
let chain_source_electrsd = TestChainSource :: Electrum ( & electrsd) ;
691
691
let chain_source_esplora = TestChainSource :: Esplora ( & electrsd) ;
692
692
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
- }
700
693
let anchor_channels = false ;
701
694
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) ,
705
698
] ;
706
699
707
700
let ( bitcoind, electrs) = ( & bitcoind. client , & electrsd. client ) ;
0 commit comments