| 435 | struct open_info *info); |
| 436 | |
| 437 | static struct command_result *funding_queue_join(struct command *cmd, |
| 438 | struct open_info *info) |
| 439 | { |
| 440 | bool idle = list_empty(&funding_queue); |
| 441 | |
| 442 | info->cmd = cmd; |
| 443 | list_add_tail(&funding_queue, &info->list); |
| 444 | if (!idle) |
| 445 | return command_still_pending(cmd); |
| 446 | |
| 447 | return send_listfunds(cmd, info); |
| 448 | } |
| 449 | |
| 450 | /* Our utxos are reserved (or we're not funding): let the next one go. */ |
| 451 | static void funding_queue_done(struct open_info *info) |
no test coverage detected