From 6d650064a0b1ddba8a7be14325895d4549806da0 Mon Sep 17 00:00:00 2001 From: niftynei Date: Wed, 14 Oct 2020 20:20:41 -0500 Subject: [PATCH] df, nit: make this error message a little bit more informative --- lightningd/dual_open_control.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lightningd/dual_open_control.c b/lightningd/dual_open_control.c index a3d1d92a3..db492d039 100644 --- a/lightningd/dual_open_control.c +++ b/lightningd/dual_open_control.c @@ -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,