MCPcopy Create free account
hub / github.com/ElementsProject/lightning / del_buy_request

Method del_buy_request

plugins/lsps-plugin/src/core/lsps2/handler.rs:177–193  ·  view source on GitHub ↗
(&self, scid: &ShortChannelId)

Source from the content-addressed store, hash-verified

175 }
176
177 async fn del_buy_request(&self, scid: &ShortChannelId) -> AnyResult<()> {
178 let mut rpc = self.create_rpc().await?;
179 let key = vec![
180 DS_MAIN_KEY.to_string(),
181 DS_SUB_KEY.to_string(),
182 scid.to_string(),
183 ];
184
185 let _ = rpc
186 .call_typed(&DeldatastoreRequest {
187 generation: None,
188 key,
189 })
190 .await;
191
192 Ok(())
193 }
194}
195
196#[async_trait]

Callers 1

handleMethod · 0.45

Calls 2

call_typedMethod · 0.80
create_rpcMethod · 0.45

Tested by

no test coverage detected