Skip to content

Commit

Permalink
Log lightwalletd connection instead of printing to stdout
Browse files Browse the repository at this point in the history
  • Loading branch information
str4d committed Apr 22, 2024
1 parent 67e75ba commit 885f9ce
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/remote.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
use tonic::transport::{Channel, ClientTlsConfig};

use tracing::info;
use zcash_client_backend::proto::service::compact_tx_streamer_client::CompactTxStreamerClient;
use zcash_primitives::consensus;

Expand All @@ -24,7 +25,7 @@ impl Lightwalletd for consensus::Network {
pub(crate) async fn connect_to_lightwalletd(
network: &impl Lightwalletd,
) -> Result<CompactTxStreamerClient<Channel>, anyhow::Error> {
println!("Connecting to {}:{}", network.host(), network.port());
info!("Connecting to {}:{}", network.host(), network.port());

let tls = ClientTlsConfig::new().domain_name(network.host());

Expand Down

0 comments on commit 885f9ce

Please sign in to comment.