Skip to content

Commit 2a99b06

Browse files
committed
debugging
1 parent efb80d8 commit 2a99b06

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

payjoin-directory/src/lib.rs

+1
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ pub async fn listen_tcp_with_tls(
7272
let bind_addr = SocketAddr::new(IpAddr::V6(Ipv6Addr::UNSPECIFIED), port);
7373
let tls_acceptor = init_tls_acceptor(tls_config)?;
7474
let listener = TcpListener::bind(bind_addr).await?;
75+
println!("Directory listening on tcp://{}", bind_addr);
7576
while let Ok((stream, _)) = listener.accept().await {
7677
let pool = pool.clone();
7778
let ohttp = ohttp.clone();

payjoin/tests/integration.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1258,7 +1258,7 @@ mod integration {
12581258
handle_proposal(proposal, receiver, custom_outputs, drain_script, custom_inputs)?;
12591259
assert!(!proposal.is_output_substitution_disabled());
12601260
let psbt = proposal.psbt();
1261-
tracing::debug!("Receiver's Payjoin proposal PSBT: {:#?}", &psbt);
1261+
//tracing::debug!("Receiver's Payjoin proposal PSBT: {:#?}", &psbt);
12621262
Ok(psbt.to_string())
12631263
}
12641264

@@ -1349,7 +1349,7 @@ mod integration {
13491349
let payjoin_psbt = sender.wallet_process_psbt(&psbt.to_string(), None, None, None)?.psbt;
13501350
let payjoin_psbt = sender.finalize_psbt(&payjoin_psbt, Some(false))?.psbt.unwrap();
13511351
let payjoin_psbt = Psbt::from_str(&payjoin_psbt)?;
1352-
tracing::debug!("Sender's Payjoin PSBT: {:#?}", payjoin_psbt);
1352+
//tracing::debug!("Sender's Payjoin PSBT: {:#?}", payjoin_psbt);
13531353

13541354
Ok(payjoin_psbt.extract_tx()?)
13551355
}

0 commit comments

Comments
 (0)