Sets the "featurebits" in the "getmanifest" response
(mut self, kind: FeatureBitsKind, hex: String)
| 318 | |
| 319 | /// Sets the "featurebits" in the "getmanifest" response |
| 320 | pub fn featurebits(mut self, kind: FeatureBitsKind, hex: String) -> Self { |
| 321 | match kind { |
| 322 | FeatureBitsKind::Node => self.featurebits.node = Some(hex), |
| 323 | FeatureBitsKind::Channel => self.featurebits.channel = Some(hex), |
| 324 | FeatureBitsKind::Init => self.featurebits.init = Some(hex), |
| 325 | FeatureBitsKind::Invoice => self.featurebits.invoice = Some(hex), |
| 326 | } |
| 327 | self |
| 328 | } |
| 329 | |
| 330 | /// Should the plugin automatically register a logging handler? If |
| 331 | /// not you may need to register a logging handler yourself. Be |
nothing calls this directly
no outgoing calls
no test coverage detected