@@ -28,7 +28,7 @@ use std::sync::Arc;
2828#[ test]
2929fn channel_full_cycle ( ) {
3030 let ( bitcoind, electrsd) = setup_bitcoind_and_electrsd ( ) ;
31- let chain_source = TestChainSource :: BitcoinRpc ( & bitcoind) ;
31+ let chain_source = TestChainSource :: BitcoindRpc ( & bitcoind) ;
3232 let ( node_a, node_b) = setup_two_nodes ( & chain_source, false , true , false ) ;
3333 do_channel_full_cycle ( node_a, node_b, & bitcoind. client , & electrsd. client , false , true , false ) ;
3434}
@@ -44,39 +44,39 @@ fn channel_full_cycle_esplora() {
4444#[ test]
4545fn channel_full_cycle_force_close ( ) {
4646 let ( bitcoind, electrsd) = setup_bitcoind_and_electrsd ( ) ;
47- let chain_source = TestChainSource :: BitcoinRpc ( & bitcoind) ;
47+ let chain_source = TestChainSource :: BitcoindRpc ( & bitcoind) ;
4848 let ( node_a, node_b) = setup_two_nodes ( & chain_source, false , true , false ) ;
4949 do_channel_full_cycle ( node_a, node_b, & bitcoind. client , & electrsd. client , false , true , true ) ;
5050}
5151
5252#[ test]
5353fn channel_full_cycle_force_close_trusted_no_reserve ( ) {
5454 let ( bitcoind, electrsd) = setup_bitcoind_and_electrsd ( ) ;
55- let chain_source = TestChainSource :: BitcoinRpc ( & bitcoind) ;
55+ let chain_source = TestChainSource :: BitcoindRpc ( & bitcoind) ;
5656 let ( node_a, node_b) = setup_two_nodes ( & chain_source, false , true , true ) ;
5757 do_channel_full_cycle ( node_a, node_b, & bitcoind. client , & electrsd. client , false , true , true ) ;
5858}
5959
6060#[ test]
6161fn channel_full_cycle_0conf ( ) {
6262 let ( bitcoind, electrsd) = setup_bitcoind_and_electrsd ( ) ;
63- let chain_source = TestChainSource :: BitcoinRpc ( & bitcoind) ;
63+ let chain_source = TestChainSource :: BitcoindRpc ( & bitcoind) ;
6464 let ( node_a, node_b) = setup_two_nodes ( & chain_source, true , true , false ) ;
6565 do_channel_full_cycle ( node_a, node_b, & bitcoind. client , & electrsd. client , true , true , false )
6666}
6767
6868#[ test]
6969fn channel_full_cycle_legacy_staticremotekey ( ) {
7070 let ( bitcoind, electrsd) = setup_bitcoind_and_electrsd ( ) ;
71- let chain_source = TestChainSource :: BitcoinRpc ( & bitcoind) ;
71+ let chain_source = TestChainSource :: BitcoindRpc ( & bitcoind) ;
7272 let ( node_a, node_b) = setup_two_nodes ( & chain_source, false , false , false ) ;
7373 do_channel_full_cycle ( node_a, node_b, & bitcoind. client , & electrsd. client , false , false , false ) ;
7474}
7575
7676#[ test]
7777fn channel_open_fails_when_funds_insufficient ( ) {
7878 let ( bitcoind, electrsd) = setup_bitcoind_and_electrsd ( ) ;
79- let chain_source = TestChainSource :: BitcoinRpc ( & bitcoind) ;
79+ let chain_source = TestChainSource :: BitcoindRpc ( & bitcoind) ;
8080 let ( node_a, node_b) = setup_two_nodes ( & chain_source, false , true , false ) ;
8181
8282 let addr_a = node_a. onchain_payment ( ) . new_address ( ) . unwrap ( ) ;
@@ -280,7 +280,7 @@ fn start_stop_reinit() {
280280#[ test]
281281fn onchain_spend_receive ( ) {
282282 let ( bitcoind, electrsd) = setup_bitcoind_and_electrsd ( ) ;
283- let chain_source = TestChainSource :: BitcoinRpc ( & bitcoind) ;
283+ let chain_source = TestChainSource :: BitcoindRpc ( & bitcoind) ;
284284 let ( node_a, node_b) = setup_two_nodes ( & chain_source, false , true , false ) ;
285285
286286 let addr_a = node_a. onchain_payment ( ) . new_address ( ) . unwrap ( ) ;
@@ -330,7 +330,7 @@ fn onchain_spend_receive() {
330330fn sign_verify_msg ( ) {
331331 let ( bitcoind, _electrsd) = setup_bitcoind_and_electrsd ( ) ;
332332 let config = random_config ( true ) ;
333- let chain_source = TestChainSource :: BitcoinRpc ( & bitcoind) ;
333+ let chain_source = TestChainSource :: BitcoindRpc ( & bitcoind) ;
334334 let node = setup_node ( & chain_source, config) ;
335335
336336 // Tests arbitrary message signing and later verification
@@ -348,7 +348,7 @@ fn connection_restart_behavior() {
348348
349349fn do_connection_restart_behavior ( persist : bool ) {
350350 let ( bitcoind, _electrsd) = setup_bitcoind_and_electrsd ( ) ;
351- let chain_source = TestChainSource :: BitcoinRpc ( & bitcoind) ;
351+ let chain_source = TestChainSource :: BitcoindRpc ( & bitcoind) ;
352352 let ( node_a, node_b) = setup_two_nodes ( & chain_source, false , false , false ) ;
353353
354354 let node_id_a = node_a. node_id ( ) ;
@@ -400,7 +400,7 @@ fn do_connection_restart_behavior(persist: bool) {
400400#[ test]
401401fn concurrent_connections_succeed ( ) {
402402 let ( bitcoind, _electrsd) = setup_bitcoind_and_electrsd ( ) ;
403- let chain_source = TestChainSource :: BitcoinRpc ( & bitcoind) ;
403+ let chain_source = TestChainSource :: BitcoindRpc ( & bitcoind) ;
404404 let ( node_a, node_b) = setup_two_nodes ( & chain_source, false , true , false ) ;
405405
406406 let node_a = Arc :: new ( node_a) ;
@@ -431,7 +431,7 @@ fn concurrent_connections_succeed() {
431431#[ test]
432432fn simple_bolt12_send_receive ( ) {
433433 let ( bitcoind, electrsd) = setup_bitcoind_and_electrsd ( ) ;
434- let chain_source = TestChainSource :: BitcoinRpc ( & bitcoind) ;
434+ let chain_source = TestChainSource :: BitcoindRpc ( & bitcoind) ;
435435 let ( node_a, node_b) = setup_two_nodes ( & chain_source, false , true , false ) ;
436436
437437 let address_a = node_a. onchain_payment ( ) . new_address ( ) . unwrap ( ) ;
@@ -639,7 +639,7 @@ fn simple_bolt12_send_receive() {
639639#[ test]
640640fn generate_bip21_uri ( ) {
641641 let ( bitcoind, electrsd) = setup_bitcoind_and_electrsd ( ) ;
642- let chain_source = TestChainSource :: BitcoinRpc ( & bitcoind) ;
642+ let chain_source = TestChainSource :: BitcoindRpc ( & bitcoind) ;
643643 let ( node_a, node_b) = setup_two_nodes ( & chain_source, false , true , false ) ;
644644
645645 let address_a = node_a. onchain_payment ( ) . new_address ( ) . unwrap ( ) ;
@@ -681,7 +681,7 @@ fn generate_bip21_uri() {
681681#[ test]
682682fn unified_qr_send_receive ( ) {
683683 let ( bitcoind, electrsd) = setup_bitcoind_and_electrsd ( ) ;
684- let chain_source = TestChainSource :: BitcoinRpc ( & bitcoind) ;
684+ let chain_source = TestChainSource :: BitcoindRpc ( & bitcoind) ;
685685 let ( node_a, node_b) = setup_two_nodes ( & chain_source, false , true , false ) ;
686686
687687 let address_a = node_a. onchain_payment ( ) . new_address ( ) . unwrap ( ) ;
0 commit comments