(
&self,
request: &Lsps2PolicyGetInfoRequest,
)
| 196 | #[async_trait] |
| 197 | impl Lsps2OfferProvider for ClnApiRpc { |
| 198 | async fn get_offer( |
| 199 | &self, |
| 200 | request: &Lsps2PolicyGetInfoRequest, |
| 201 | ) -> AnyResult<Lsps2PolicyGetInfoResponse> { |
| 202 | let mut rpc = self.create_rpc().await?; |
| 203 | rpc.call_raw("lsps2-policy-getpolicy", request) |
| 204 | .await |
| 205 | .context("failed to call lsps2-policy-getpolicy") |
| 206 | } |
| 207 | |
| 208 | async fn get_channel_capacity( |
| 209 | &self, |
no test coverage detected