Skip to content

Commit 25cf633

Browse files
committed
Use rust-lightning lsp-0.1.8 branch
The lsp-0.1.8 branch is the stable long lived branch representing our fork of rust-lightning based on LDK 0.1.8. This update includes the concept of ChannelConfigOverrides which we set to None when accepting inbound channels.
1 parent b2fc8c0 commit 25cf633

2 files changed

Lines changed: 15 additions & 11 deletions

File tree

Cargo.toml

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -39,16 +39,17 @@ default = []
3939
# lightning-transaction-sync = { version = "0.1.0", features = ["esplora-async-https", "time", "electrum"] }
4040
# lightning-liquidity = { version = "0.1.0", features = ["std"] }
4141

42-
lightning = { git = "https://github.com/moneydevkit/rust-lightning", branch = "with-logs", features = ["std"] }
43-
lightning-types = { git = "https://github.com/moneydevkit/rust-lightning", branch = "with-logs" }
44-
lightning-invoice = { git = "https://github.com/moneydevkit/rust-lightning", branch = "with-logs", features = ["std"] }
45-
lightning-net-tokio = { git = "https://github.com/moneydevkit/rust-lightning", branch = "with-logs" }
46-
lightning-persister = { git = "https://github.com/moneydevkit/rust-lightning", branch = "with-logs" }
47-
lightning-background-processor = { git = "https://github.com/moneydevkit/rust-lightning", branch = "with-logs", features = ["futures"] }
48-
lightning-rapid-gossip-sync = { git = "https://github.com/moneydevkit/rust-lightning", branch = "with-logs" }
49-
lightning-block-sync = { git = "https://github.com/moneydevkit/rust-lightning", branch = "with-logs", features = ["rpc-client", "tokio"] }
50-
lightning-transaction-sync = { git = "https://github.com/moneydevkit/rust-lightning", branch = "with-logs", features = ["esplora-async-https", "time", "electrum"] }
51-
lightning-liquidity = { git = "https://github.com/moneydevkit/rust-lightning", branch = "with-logs", features = ["std"] }
42+
# Branch: https://github.com/moneydevkit/rust-lightning/commits/lsp-0.1.8/
43+
lightning = { git = "https://github.com/moneydevkit/rust-lightning", rev = "5fe3688fd19705e8f4ad33dc4d00ee32c157433c", features = ["std"] }
44+
lightning-types = { git = "https://github.com/moneydevkit/rust-lightning", rev = "5fe3688fd19705e8f4ad33dc4d00ee32c157433c" }
45+
lightning-invoice = { git = "https://github.com/moneydevkit/rust-lightning", rev = "5fe3688fd19705e8f4ad33dc4d00ee32c157433c", features = ["std"] }
46+
lightning-net-tokio = { git = "https://github.com/moneydevkit/rust-lightning", rev = "5fe3688fd19705e8f4ad33dc4d00ee32c157433c" }
47+
lightning-persister = { git = "https://github.com/moneydevkit/rust-lightning", rev = "5fe3688fd19705e8f4ad33dc4d00ee32c157433c" }
48+
lightning-background-processor = { git = "https://github.com/moneydevkit/rust-lightning", rev = "5fe3688fd19705e8f4ad33dc4d00ee32c157433c", features = ["futures"] }
49+
lightning-rapid-gossip-sync = { git = "https://github.com/moneydevkit/rust-lightning", rev = "5fe3688fd19705e8f4ad33dc4d00ee32c157433c" }
50+
lightning-block-sync = { git = "https://github.com/moneydevkit/rust-lightning", rev = "5fe3688fd19705e8f4ad33dc4d00ee32c157433c", features = ["rpc-client", "tokio"] }
51+
lightning-transaction-sync = { git = "https://github.com/moneydevkit/rust-lightning", rev = "5fe3688fd19705e8f4ad33dc4d00ee32c157433c", features = ["esplora-async-https", "time", "electrum"] }
52+
lightning-liquidity = { git = "https://github.com/moneydevkit/rust-lightning", rev = "5fe3688fd19705e8f4ad33dc4d00ee32c157433c", features = ["std"] }
5253

5354
#lightning = { path = "../rust-lightning/lightning", features = ["std"] }
5455
#lightning-types = { path = "../rust-lightning/lightning-types" }
@@ -98,7 +99,8 @@ winapi = { version = "0.3", features = ["winbase"] }
9899

99100
[dev-dependencies]
100101
# lightning = { version = "0.1.0", features = ["std", "_test_utils"] }
101-
lightning = { git = "https://github.com/moneydevkit/rust-lightning", branch = "with-logs", features = ["std", "_test_utils"] }
102+
# Branch: https://github.com/moneydevkit/rust-lightning/commits/lsp-0.1.8/
103+
lightning = { git = "https://github.com/moneydevkit/rust-lightning", rev = "5fe3688fd19705e8f4ad33dc4d00ee32c157433c", features = ["std", "_test_utils"] }
102104
#lightning = { path = "../rust-lightning/lightning", features = ["std", "_test_utils"] }
103105
proptest = "1.0.0"
104106
regex = "1.5.6"

src/event.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1173,12 +1173,14 @@ where
11731173
&temporary_channel_id,
11741174
&counterparty_node_id,
11751175
user_channel_id,
1176+
None,
11761177
)
11771178
} else {
11781179
self.channel_manager.accept_inbound_channel(
11791180
&temporary_channel_id,
11801181
&counterparty_node_id,
11811182
user_channel_id,
1183+
None,
11821184
)
11831185
};
11841186

0 commit comments

Comments
 (0)