mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-18 13:25:43 +01:00
df, nit: make this error message a little bit more informative
This commit is contained in:
parent
a97e612442
commit
6d650064a0
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user