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

Commit 3ebf63a

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

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
@@ -7,6 +7,7 @@ use crate::lsps0::ser::{
77
use crate::prelude::{String, Vec};
88

99
use bitcoin::address::{Address, NetworkUnchecked};
10+
use bitcoin::OutPoint;
1011

1112
use lightning_invoice::Bolt11Invoice;
1213

@@ -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)