(
&self,
request: &Lsps2PolicyGetInfoRequest,
)
| 187 | #[async_trait] |
| 188 | impl Lsps2OfferProvider for ClnApiRpc { |
| 189 | async fn get_offer( |
| 190 | &self, |
| 191 | request: &Lsps2PolicyGetInfoRequest, |
| 192 | ) -> Result<Lsps2PolicyGetInfoResponse> { |
| 193 | let mut rpc = self.create_rpc().await?; |
| 194 | rpc.call_raw("lsps2-policy-getpolicy", request) |
| 195 | .await |
| 196 | .context("failed to call lsps2-policy-getpolicy") |
| 197 | } |
| 198 | |
| 199 | async fn get_channel_capacity( |
| 200 | &self, |
nothing calls this directly
no test coverage detected