| 572 | } |
| 573 | |
| 574 | static struct command_result * |
| 575 | getrawblockbyheight_notfound(struct bitcoin_cli *bcli) |
| 576 | { |
| 577 | struct json_stream *response; |
| 578 | |
| 579 | response = jsonrpc_stream_success(bcli->cmd); |
| 580 | json_add_null(response, "blockhash"); |
| 581 | json_add_null(response, "block"); |
| 582 | |
| 583 | return command_finished(bcli->cmd, response); |
| 584 | } |
| 585 | |
| 586 | static struct command_result *process_getblockhash(struct bitcoin_cli *bcli) |
| 587 | { |
no test coverage detected