(&self, router: &mut JsonRpcRouterBuilder)
| 39 | H: Lsps2Handler + Send + Sync + 'static, |
| 40 | { |
| 41 | fn register_handler(&self, router: &mut JsonRpcRouterBuilder) { |
| 42 | register_handler!(router, self, "lsps2.get_info", handle_get_info); |
| 43 | register_handler!(router, self, "lsps2.buy", handle_buy, with_peer); |
| 44 | } |
| 45 | |
| 46 | fn protocol(&self) -> u8 { |
| 47 | 2 |
nothing calls this directly
no outgoing calls
no test coverage detected