(
payload: Vec<u8>,
forward_to: Vec<u8>,
extra_tlvs: Vec<u8>,
)
| 227 | } |
| 228 | |
| 229 | fn json_continue_forward( |
| 230 | payload: Vec<u8>, |
| 231 | forward_to: Vec<u8>, |
| 232 | extra_tlvs: Vec<u8>, |
| 233 | ) -> serde_json::Value { |
| 234 | serde_json::json!({ |
| 235 | "result": "continue", |
| 236 | "payload": hex::encode(payload), |
| 237 | "forward_to": hex::encode(forward_to), |
| 238 | "extra_tlvs": hex::encode(extra_tlvs) |
| 239 | }) |
| 240 | } |
| 241 | |
| 242 | fn json_fail(failure_code: &str) -> serde_json::Value { |
| 243 | serde_json::json!({ |
no outgoing calls
no test coverage detected