Skip to content

Commit

Permalink
Re-export the lightning crate
Browse files Browse the repository at this point in the history
  • Loading branch information
ok300 authored and cdecker committed Feb 16, 2024
1 parent 024e0d3 commit 10a104c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions libs/gl-client/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ pub enum Error {
}

pub use lightning_signer::bitcoin;
pub use lightning_signer::lightning;
pub use lightning_signer::lightning_invoice;

pub(crate) const TCP_KEEPALIVE: Duration = Duration::from_secs(30);
Expand Down
2 changes: 1 addition & 1 deletion libs/gl-client/src/signer/approver.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ impl<A: Approve> Approve for ReportingApprover<A> {
}
fn approve_keysend(
&self,
hash: lightning_signer::lightning::ln::PaymentHash,
hash: crate::lightning::ln::PaymentHash,
amount_msat: u64,
) -> bool {
log::warn!("unapproved keysend {:?} {:?}", hash, amount_msat);
Expand Down

0 comments on commit 10a104c

Please sign in to comment.