| 291 | } |
| 292 | |
| 293 | static struct command_result * |
| 294 | getrawblockbyheight_notfound(struct command *cmd) |
| 295 | { |
| 296 | struct json_stream *response; |
| 297 | |
| 298 | response = jsonrpc_stream_success(cmd); |
| 299 | json_add_null(response, "blockhash"); |
| 300 | json_add_null(response, "block"); |
| 301 | |
| 302 | return command_finished(cmd, response); |
| 303 | } |
| 304 | |
| 305 | /* Get peers that support NODE_NETWORK (full nodes). |
| 306 | * Returns array of peer ids, or empty array if none found. */ |
no test coverage detected