Skip to content

Commit

Permalink
df, nit: make this error message a little bit more informative
Browse files Browse the repository at this point in the history
  • Loading branch information
niftynei authored and rustyrussell committed Oct 20, 2020
1 parent 555e3b3 commit ab65284
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lightningd/dual_open_control.c
Expand Up @@ -1057,7 +1057,9 @@ static struct command_result *json_open_channel_update(struct command *cmd,

if (!uc)
return command_fail(cmd, FUNDING_UNKNOWN_CHANNEL,
"Unknown channel");
"Unknown channel %s",
type_to_string(tmpctx, struct channel_id,
cid));

if (!uc->fc || !uc->fc->inflight)
return command_fail(cmd, LIGHTNINGD,
Expand Down

0 comments on commit ab65284

Please sign in to comment.