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

Commit 1ea185d

Browse files
committed
Remove website field
as per BitcoinAndLightningLayerSpecs/lsp#96
1 parent ca150c4 commit 1ea185d

File tree

3 files changed

+0
-6
lines changed

3 files changed

+0
-6
lines changed

src/lsps1/client.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,6 @@ where
300300
self.pending_events.enqueue(Event::LSPS1Client(LSPS1ClientEvent::GetInfoResponse {
301301
user_channel_id,
302302
counterparty_node_id: *counterparty_node_id,
303-
website: result.website,
304303
options_supported: result.options,
305304
}))
306305
},

src/lsps1/msgs.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,6 @@ pub struct OptionsSupported {
7373
/// A response to an [`GetInfoRequest`].
7474
#[derive(Clone, Debug, PartialEq, Eq, Deserialize, Serialize)]
7575
pub struct GetInfoResponse {
76-
/// The website of the LSP.
77-
pub website: String,
7876
/// All options supported by the LSP.
7977
pub options: OptionsSupported,
8078
}

src/lsps1/service.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,6 @@ pub struct LSPS1ServiceConfig {
4343
pub token: Option<String>,
4444
/// The options supported by the LSP.
4545
pub options_supported: Option<OptionsSupported>,
46-
/// The LSP's website.
47-
pub website: Option<String>,
4846
}
4947

5048
struct ChannelStateError(String);
@@ -171,7 +169,6 @@ where
171169
&self, request_id: RequestId, counterparty_node_id: &PublicKey,
172170
) -> Result<(), LightningError> {
173171
let response = LSPS1Response::GetInfo(GetInfoResponse {
174-
website: self.config.website.clone().unwrap().to_string(),
175172
options: self
176173
.config
177174
.options_supported

0 commit comments

Comments
 (0)