Skip to content

Commit df4c999

Browse files
Fix broken 'open public channels' feature
1 parent 0e55f81 commit df4c999

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cli.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -546,7 +546,7 @@ fn open_channel(
546546
}
547547
// lnd's max to_self_delay is 2016, so we want to be compatible.
548548
config.peer_channel_config_limits.their_to_self_delay = 2016;
549-
match channel_manager.create_channel(peer_pubkey, channel_amt_sat, 0, 0, None) {
549+
match channel_manager.create_channel(peer_pubkey, channel_amt_sat, 0, 0, Some(config)) {
550550
Ok(_) => {
551551
println!("EVENT: initiated channel with peer {}. ", peer_pubkey);
552552
return Ok(());

0 commit comments

Comments
 (0)