Skip to content

Commit

Permalink
Merge pull request #229 from tnull/2024-01-upgrade-ldk-to-0.0.120
Browse files Browse the repository at this point in the history
Upgrade LDK to 0.0.121
  • Loading branch information
tnull authored Jan 23, 2024
2 parents 99ccb10 + e9c12cf commit 421bb4f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
16 changes: 8 additions & 8 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@ panic = 'abort' # Abort on panic
default = []

[dependencies]
lightning = { version = "0.0.119", features = ["std"] }
lightning-invoice = { version = "0.27.0" }
lightning-net-tokio = { version = "0.0.119" }
lightning-persister = { version = "0.0.119" }
lightning-background-processor = { version = "0.0.119", features = ["futures"] }
lightning-rapid-gossip-sync = { version = "0.0.119" }
lightning-transaction-sync = { version = "0.0.119", features = ["esplora-async-https"] }
lightning = { version = "0.0.121", features = ["std"] }
lightning-invoice = { version = "0.29.0" }
lightning-net-tokio = { version = "0.0.121" }
lightning-persister = { version = "0.0.121" }
lightning-background-processor = { version = "0.0.121", features = ["futures"] }
lightning-rapid-gossip-sync = { version = "0.0.121" }
lightning-transaction-sync = { version = "0.0.121", features = ["esplora-async-https", "time"] }

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

[dev-dependencies]
lightning = { version = "0.0.119", features = ["std", "_test_utils"] }
lightning = { version = "0.0.121", features = ["std", "_test_utils"] }
#lightning = { git = "https://github.com/lightningdevkit/rust-lightning", branch="main", features = ["std", "_test_utils"] }
electrum-client = { version = "0.15.1", default-features = true }
bitcoincore-rpc = { version = "0.17.0", default-features = false }
Expand Down
8 changes: 4 additions & 4 deletions src/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ pub(crate) type GossipSync = lightning_background_processor::GossipSync<
Arc<FilesystemLogger>,
>;

pub(crate) type OnionMessenger = lightning::onion_message::OnionMessenger<
pub(crate) type OnionMessenger = lightning::onion_message::messenger::OnionMessenger<
Arc<KeysManager>,
Arc<KeysManager>,
Arc<FilesystemLogger>,
Expand All @@ -113,11 +113,11 @@ pub(crate) type OnionMessenger = lightning::onion_message::OnionMessenger<

pub(crate) struct FakeMessageRouter {}

impl lightning::onion_message::MessageRouter for FakeMessageRouter {
impl lightning::onion_message::messenger::MessageRouter for FakeMessageRouter {
fn find_path(
&self, _sender: PublicKey, _peers: Vec<PublicKey>,
_destination: lightning::onion_message::Destination,
) -> Result<lightning::onion_message::OnionMessagePath, ()> {
_destination: lightning::onion_message::messenger::Destination,
) -> Result<lightning::onion_message::messenger::OnionMessagePath, ()> {
unimplemented!()
}
fn create_blinded_paths<
Expand Down

0 comments on commit 421bb4f

Please sign in to comment.