File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -1552,8 +1552,12 @@ async fn unified_qr_send_receive() {
15521552
15531553#[ tokio:: test( flavor = "multi_thread" , worker_threads = 1 ) ]
15541554async fn lsps2_client_service_integration ( ) {
1555- let ( bitcoind, electrsd) = setup_bitcoind_and_electrsd ( ) ;
1555+ do_lsps2_client_service_integration ( true ) . await ;
1556+ do_lsps2_client_service_integration ( false ) . await ;
1557+ }
15561558
1559+ async fn do_lsps2_client_service_integration ( client_trusts_lsp : bool ) {
1560+ let ( bitcoind, electrsd) = setup_bitcoind_and_electrsd ( ) ;
15571561 let esplora_url = format ! ( "http://{}" , electrsd. esplora_url. as_ref( ) . unwrap( ) ) ;
15581562
15591563 let sync_config = EsploraSyncConfig { background_sync_config : None } ;
@@ -1571,7 +1575,7 @@ async fn lsps2_client_service_integration() {
15711575 min_channel_lifetime : 100 ,
15721576 min_channel_opening_fee_msat : 0 ,
15731577 max_client_to_self_delay : 1024 ,
1574- client_trusts_lsp : false ,
1578+ client_trusts_lsp,
15751579 } ;
15761580
15771581 let service_config = random_config ( true ) ;
You can’t perform that action at this time.
0 commit comments