| 802 | } |
| 803 | |
| 804 | static struct command_result * |
| 805 | listfunds_failed(struct command *cmd, |
| 806 | const char *method, |
| 807 | const char *buf, |
| 808 | const jsmntok_t *error, |
| 809 | struct open_info *info) |
| 810 | { |
| 811 | |
| 812 | /* Something went wrong fetching the funds info |
| 813 | * for our wallet. Just keep going */ |
| 814 | plugin_log(cmd->plugin, LOG_INFORM, |
| 815 | "Unable to fetch wallet funds info." |
| 816 | " Continuing channel open to %s" |
| 817 | " without our participation. err %.*s", |
| 818 | fmt_node_id(tmpctx, |
| 819 | &info->id), |
| 820 | json_tok_full_len(error), |
| 821 | json_tok_full(buf, error)); |
| 822 | |
| 823 | funding_queue_done(info); |
| 824 | return command_hook_success(cmd); |
| 825 | } |
| 826 | |
| 827 | static struct command_result *send_listfunds(struct command *cmd, |
| 828 | struct open_info *info) |
nothing calls this directly
no test coverage detected