Skip to content

Commit 8d8b64e

Browse files
committed
fix: adding a little delay before checking channel state
We do this after attempting to open a channel with core lightning node
1 parent 387cc2d commit 8d8b64e

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

tests/integration_tests_cln.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,8 @@ fn test_cln() {
8686
node.open_channel(cln_node_id, cln_address, funding_amount_sat, Some(500_000_000), None)
8787
.unwrap();
8888

89+
std::thread::sleep(std::time::Duration::from_millis(1000));
90+
8991
let funding_txo = common::expect_channel_pending_event!(node, cln_node_id);
9092
common::wait_for_tx(&electrs_client, funding_txo.txid);
9193
common::generate_blocks_and_wait(&bitcoind_client, &electrs_client, 6);

0 commit comments

Comments
 (0)