(method: &str)
| 1562 | } |
| 1563 | |
| 1564 | fn jsonrpc_rule_json(method: &str) -> serde_json::Value { |
| 1565 | serde_json::json!({ |
| 1566 | "allow": { |
| 1567 | "method": method |
| 1568 | } |
| 1569 | }) |
| 1570 | } |
| 1571 | |
| 1572 | fn valid_methods_for_protocol(protocol: &str) -> &'static [&'static str] { |
| 1573 | match protocol { |
nothing calls this directly
no outgoing calls
no test coverage detected