| 418 | }; |
| 419 | |
| 420 | static struct open_info *new_open_info(const tal_t *ctx) |
| 421 | { |
| 422 | struct open_info *info = tal(ctx, struct open_info); |
| 423 | |
| 424 | info->their_last_funding = NULL; |
| 425 | info->our_last_funding = NULL; |
| 426 | info->requested_lease = AMOUNT_SAT(0); |
| 427 | info->lease_blockheight = 0; |
| 428 | info->node_blockheight = 0; |
| 429 | info->prev_outs = NULL; |
| 430 | |
| 431 | return info; |
| 432 | } |
| 433 | |
| 434 | static struct command_result *send_listfunds(struct command *cmd, |
| 435 | struct open_info *info); |
no outgoing calls
no test coverage detected