| 501 | } |
| 502 | |
| 503 | static struct command_result * |
| 504 | listfunds_failed(struct command *cmd, |
| 505 | const char *buf, |
| 506 | const jsmntok_t *error, |
| 507 | struct open_info *info) |
| 508 | { |
| 509 | |
| 510 | /* Something went wrong fetching the funds info |
| 511 | * for our wallet. Just keep going */ |
| 512 | plugin_log(cmd->plugin, LOG_INFORM, |
| 513 | "Unable to fetch wallet funds info." |
| 514 | " Continuing channel open to %s" |
| 515 | " without our participation. err %.*s", |
| 516 | type_to_string(tmpctx, struct node_id, |
| 517 | &info->id), |
| 518 | json_tok_full_len(error), |
| 519 | json_tok_full(buf, error)); |
| 520 | |
| 521 | return command_hook_success(cmd); |
| 522 | } |
| 523 | |
| 524 | static struct command_result * |
| 525 | json_openchannel2_call(struct command *cmd, |
nothing calls this directly
no test coverage detected