Skip to content

Commit

Permalink
f Fix CLN tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tnull committed Feb 2, 2024
1 parent 33170d6 commit 15cbaed
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/integration_tests_cln.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ mod common;
use ldk_node::bitcoin::secp256k1::PublicKey;
use ldk_node::bitcoin::Amount;
use ldk_node::lightning::ln::msgs::SocketAddress;
use ldk_node::{Builder, Event};
use ldk_node::{generate_entropy_mnemonic, Builder, Event};

use clightningrpc::lightningrpc::LightningRPC;
use clightningrpc::responses::NetworkAddress;
Expand Down Expand Up @@ -36,8 +36,9 @@ fn test_cln() {
common::generate_blocks_and_wait(&bitcoind_client, &electrs_client, 1);

// Setup LDK Node
let mnemonic = generate_entropy_mnemonic();
let config = common::random_config();
let mut builder = Builder::from_config(config);
let mut builder = Builder::from_entropy_bip39_mnemonic(mnemonic, None, Some(config));
builder.set_esplora_server("http://127.0.0.1:3002".to_string());

let node = builder.build().unwrap();
Expand Down

0 comments on commit 15cbaed

Please sign in to comment.