Skip to content

Commit 421bb4f

Browse files
authored
Merge pull request #229 from tnull/2024-01-upgrade-ldk-to-0.0.120
Upgrade LDK to 0.0.121
2 parents 99ccb10 + e9c12cf commit 421bb4f

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

Cargo.toml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,13 @@ panic = 'abort' # Abort on panic
2828
default = []
2929

3030
[dependencies]
31-
lightning = { version = "0.0.119", features = ["std"] }
32-
lightning-invoice = { version = "0.27.0" }
33-
lightning-net-tokio = { version = "0.0.119" }
34-
lightning-persister = { version = "0.0.119" }
35-
lightning-background-processor = { version = "0.0.119", features = ["futures"] }
36-
lightning-rapid-gossip-sync = { version = "0.0.119" }
37-
lightning-transaction-sync = { version = "0.0.119", features = ["esplora-async-https"] }
31+
lightning = { version = "0.0.121", features = ["std"] }
32+
lightning-invoice = { version = "0.29.0" }
33+
lightning-net-tokio = { version = "0.0.121" }
34+
lightning-persister = { version = "0.0.121" }
35+
lightning-background-processor = { version = "0.0.121", features = ["futures"] }
36+
lightning-rapid-gossip-sync = { version = "0.0.121" }
37+
lightning-transaction-sync = { version = "0.0.121", features = ["esplora-async-https", "time"] }
3838

3939
#lightning = { git = "https://github.com/lightningdevkit/rust-lightning", branch="main", features = ["std"] }
4040
#lightning-invoice = { git = "https://github.com/lightningdevkit/rust-lightning", branch="main" }
@@ -75,7 +75,7 @@ prost = { version = "0.11.6", default-features = false}
7575
winapi = { version = "0.3", features = ["winbase"] }
7676

7777
[dev-dependencies]
78-
lightning = { version = "0.0.119", features = ["std", "_test_utils"] }
78+
lightning = { version = "0.0.121", features = ["std", "_test_utils"] }
7979
#lightning = { git = "https://github.com/lightningdevkit/rust-lightning", branch="main", features = ["std", "_test_utils"] }
8080
electrum-client = { version = "0.15.1", default-features = true }
8181
bitcoincore-rpc = { version = "0.17.0", default-features = false }

src/types.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ pub(crate) type GossipSync = lightning_background_processor::GossipSync<
102102
Arc<FilesystemLogger>,
103103
>;
104104

105-
pub(crate) type OnionMessenger = lightning::onion_message::OnionMessenger<
105+
pub(crate) type OnionMessenger = lightning::onion_message::messenger::OnionMessenger<
106106
Arc<KeysManager>,
107107
Arc<KeysManager>,
108108
Arc<FilesystemLogger>,
@@ -113,11 +113,11 @@ pub(crate) type OnionMessenger = lightning::onion_message::OnionMessenger<
113113

114114
pub(crate) struct FakeMessageRouter {}
115115

116-
impl lightning::onion_message::MessageRouter for FakeMessageRouter {
116+
impl lightning::onion_message::messenger::MessageRouter for FakeMessageRouter {
117117
fn find_path(
118118
&self, _sender: PublicKey, _peers: Vec<PublicKey>,
119-
_destination: lightning::onion_message::Destination,
120-
) -> Result<lightning::onion_message::OnionMessagePath, ()> {
119+
_destination: lightning::onion_message::messenger::Destination,
120+
) -> Result<lightning::onion_message::messenger::OnionMessagePath, ()> {
121121
unimplemented!()
122122
}
123123
fn create_blinded_paths<

0 commit comments

Comments
 (0)