Skip to content

Commit

Permalink
meta: use vanilla ldk without our fork
Browse files Browse the repository at this point in the history
Finally we are able to remove the fork that we have of ldk.

Signed-off-by: Vincenzo Palazzo <[email protected]>
  • Loading branch information
vincenzopalazzo committed Jun 19, 2024
1 parent cfcca63 commit e62b04a
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 33 deletions.
44 changes: 21 additions & 23 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 7 additions & 7 deletions lampo-common/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
lightning = { git = "https://github.com/vincenzopalazzo/rust-lightning.git", branch = "macros/allow-to-inject-channels-keys", features = ["max_level_trace"] }
lightning-block-sync = { git = "https://github.com/vincenzopalazzo/rust-lightning.git", branch = "macros/allow-to-inject-channels-keys" }
lightning-persister = { git = "https://github.com/vincenzopalazzo/rust-lightning.git", branch = "macros/allow-to-inject-channels-keys" }
lightning-background-processor = { git = "https://github.com/vincenzopalazzo/rust-lightning.git", branch = "macros/allow-to-inject-channels-keys" }
lightning-net-tokio = { git = "https://github.com/vincenzopalazzo/rust-lightning.git", branch = "macros/allow-to-inject-channels-keys" }
lightning-rapid-gossip-sync = { git = "https://github.com/vincenzopalazzo/rust-lightning.git", branch = "macros/allow-to-inject-channels-keys" }
lightning-invoice = { git = "https://github.com/vincenzopalazzo/rust-lightning.git", branch = "macros/allow-to-inject-channels-keys" }
lightning = { version = "0.0.123", features = ["max_level_trace"] }
lightning-block-sync = { version = "0.0.123" }
lightning-persister = { version = "0.0.123" }
lightning-background-processor = { version = "0.0.123" }
lightning-net-tokio = { version = "0.0.123" }
lightning-rapid-gossip-sync = { version = "0.0.123" }
lightning-invoice = { version = "0.31" }
bitcoin = { version = "0.30.2", features = ["serde"] }
clightningrpc-conf = { git = "https://github.com/laanwj/cln4rust.git", branch = "master" }
crossbeam-channel = "0.5.8"
Expand Down
2 changes: 1 addition & 1 deletion lampod/src/ln/offchain_manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ impl OffchainManager {
let offer = Offer::from_str(offer_str).map_err(|err| error::anyhow!("{:?}", err))?;

let amount = match offer.amount() {
Some(Amount::Bitcoin { amount_msats }) => amount_msats,
Some(Amount::Bitcoin { amount_msats }) => amount_msats.clone(),
Some(_) => error::bail!(
"Cannot process non-Bitcoin-denominated offer value {:?}",
offer.amount()
Expand Down
4 changes: 2 additions & 2 deletions lampod/src/ln/peer_manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ pub type LampoArcOnionMessenger<L> = OnionMessenger<
Arc<LampoKeysManager>,
Arc<LampoKeysManager>,
Arc<L>,
EmptyNodeIdLookUp,
Arc<EmptyNodeIdLookUp>,
Arc<DefaultMessageRouter<Arc<LampoGraph>, Arc<L>, Arc<LampoKeysManager>>>,
IgnoringMessageHandler,
IgnoringMessageHandler,
Expand Down Expand Up @@ -90,7 +90,7 @@ impl LampoPeerManager {
keys.clone(),
keys.clone(),
self.logger.clone(),
EmptyNodeIdLookUp {},
Arc::new(EmptyNodeIdLookUp {}),
Arc::new(DefaultMessageRouter::new(graph.clone(), keys.clone())),
IgnoringMessageHandler {},
IgnoringMessageHandler {},
Expand Down

0 comments on commit e62b04a

Please sign in to comment.