Skip to content
This repository was archived by the owner on Jan 6, 2025. It is now read-only.

Commit 7c18cb1

Browse files
fix review comments
1 parent 9c954cc commit 7c18cb1

File tree

14 files changed

+472
-370
lines changed

14 files changed

+472
-370
lines changed

Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,6 @@ lightning-invoice = "0.25.0"
1313

1414
bitcoin = "0.29.0"
1515

16+
chrono = { version = "0.4.31", features = ["serde"] }
1617
serde = { version = "1.0", default-features = false, features = ["derive", "alloc"] }
1718
serde_json = "1.0"

src/channel_request/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// This file is Copyright its original authors, visible in version contror
1+
// This file is Copyright its original authors, visible in version control
22
// history.
33
//
44
// This file is licensed under the Apache License, Version 2.0 <LICENSE-APACHE

src/events.rs

+5-3
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@
1111
//! by the end-user.
1212
//!
1313
//! Because we don't have a built-in runtime, it's up to the end-user to poll
14-
//! [`crate::LiquidityManager::get_and_clear_pending_events()`] to receive events.
14+
//! [`LiquidityManager::get_and_clear_pending_events`] to receive events.
15+
//!
16+
//! [`LiquidityManager::get_and_clear_pending_events`]: crate::LiquidityManager::get_and_clear_pending_events
1517
use crate::jit_channel;
1618
use std::collections::VecDeque;
1719
use std::sync::{Condvar, Mutex};
@@ -56,6 +58,6 @@ impl EventQueue {
5658
/// An event which you should probably take some action in response to.
5759
#[derive(Debug, Clone, PartialEq, Eq)]
5860
pub enum Event {
59-
/// A LSPS2 (JIT Channel) protocol event
60-
LSPS2(jit_channel::event::Event),
61+
/// An LSPS2 (JIT Channel) protocol event.
62+
LSPS2(jit_channel::LSPS2Event),
6163
}

0 commit comments

Comments
 (0)