projects
/
ldk-sample
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0e55f81
)
Fix broken 'open public channels' feature
author
Valentine Wallace
<vwallace@protonmail.com>
Wed, 12 May 2021 17:33:19 +0000
(13:33 -0400)
committer
Valentine Wallace
<vwallace@protonmail.com>
Wed, 12 May 2021 17:33:19 +0000
(13:33 -0400)
src/cli.rs
patch
|
blob
|
history
diff --git
a/src/cli.rs
b/src/cli.rs
index 7e957e27783ee903dd8e572e7d0df3fef2134d9e..2ea727111d32faebef71bf0d4932bd4f85d34d02 100644
(file)
--- a/
src/cli.rs
+++ b/
src/cli.rs
@@
-546,7
+546,7
@@
fn open_channel(
}
// lnd's max to_self_delay is 2016, so we want to be compatible.
config.peer_channel_config_limits.their_to_self_delay = 2016;
- match channel_manager.create_channel(peer_pubkey, channel_amt_sat, 0, 0,
None
) {
+ match channel_manager.create_channel(peer_pubkey, channel_amt_sat, 0, 0,
Some(config)
) {
Ok(_) => {
println!("EVENT: initiated channel with peer {}. ", peer_pubkey);
return Ok(());