Skip to content

Commit

Permalink
chore: cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
ngutech21 committed Mar 9, 2024
1 parent dec9d34 commit cb0ab22
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions integrationtests/src/lnd_client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,9 @@ impl LndClient {
pub async fn new_local_itest() -> anyhow::Result<Self> {
let url = Url::parse(LND_ADDRESS)?;
let project_dir = std::env::var("CARGO_MANIFEST_DIR")?;
println!("project_dir: {:?}", project_dir);
let data_dir: PathBuf = (project_dir.clone() + "../data/").into();
println!("data_dir: {:?}", data_dir.exists());
let cert_file: PathBuf = (project_dir.clone() + "../data/lnd1/tls.cert").into();
println!("cert_file: {:?}", cert_file.exists());
let macaroon_file: PathBuf =
(project_dir + "../data/lnd1/data/chain/bitcoin/regtest/admin.macaroon").into();
println!("mac_file: {:?}", macaroon_file.exists());
Self::new(url, &cert_file, &macaroon_file).await
}

Expand Down

0 comments on commit cb0ab22

Please sign in to comment.