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

Commit 1ae3016

Browse files
committed
LSPS1: Use OutPoint type in ChannelInfo
1 parent e231bf4 commit 1ae3016

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/lsps1/msgs.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ use crate::lsps0::ser::{
66

77
use crate::prelude::{String, Vec};
88

9+
use bitcoin::OutPoint;
910
use bitcoin::address::{Address, NetworkUnchecked};
1011

1112
use lightning_invoice::Bolt11Invoice;
@@ -206,7 +207,7 @@ pub struct ChannelInfo {
206207
/// The datetime when the funding transaction has been published.
207208
pub funded_at: chrono::DateTime<Utc>,
208209
/// The outpoint of the funding transaction.
209-
pub funding_outpoint: String,
210+
pub funding_outpoint: OutPoint,
210211
/// The earliest datetime when the channel may be closed by the LSP.
211212
pub expires_at: chrono::DateTime<Utc>,
212213
}

0 commit comments

Comments
 (0)