Skip to content

Commit

Permalink
Use Anchor channels in CLN integration test
Browse files Browse the repository at this point in the history
.. because they will be the new default.

Note the upcoming CLN 24.02 release will make Anchors default, too, but
for now we have to set the `experimental-anchors` config option.
  • Loading branch information
tnull committed Jun 11, 2024
1 parent 1952802 commit 5ba1b35
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions docker-compose-cln.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ services:
"--bitcoin-rpcuser=user",
"--bitcoin-rpcpassword=pass",
"--regtest",
"--experimental-anchors",
]
ports:
- "19846:19846"
Expand Down
1 change: 1 addition & 0 deletions tests/integration_tests_cln.rs
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ fn test_cln() {
let funding_txo = common::expect_channel_pending_event!(node, cln_node_id);
common::wait_for_tx(&electrs_client, funding_txo.txid);
common::generate_blocks_and_wait(&bitcoind_client, &electrs_client, 6);
node.sync_wallets().unwrap();
let user_channel_id = common::expect_channel_ready_event!(node, cln_node_id);

// Send a payment to CLN
Expand Down

0 comments on commit 5ba1b35

Please sign in to comment.