diff --git a/tests/integration_tests_cln.rs b/tests/integration_tests_cln.rs index f941c8fdf..9e557efd1 100644 --- a/tests/integration_tests_cln.rs +++ b/tests/integration_tests_cln.rs @@ -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; @@ -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();