mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-03-01 17:47:30 +01:00
lightningd/json_dev_forget_channel: clarify message when both peer_id and scid are given
mentioned in issue #2298
This commit is contained in:
parent
b66d6a0d55
commit
34e40b9383
1 changed files with 2 additions and 1 deletions
|
@ -1407,7 +1407,8 @@ static struct command_result *json_dev_forget_channel(struct command *cmd,
|
|||
}
|
||||
if (!forget->channel) {
|
||||
return command_fail(cmd, LIGHTNINGD,
|
||||
"No channels matching that short_channel_id");
|
||||
"No channels matching that peer_id%s",
|
||||
scid ? " and that short_channel_id" : "");
|
||||
}
|
||||
|
||||
if (channel_has_htlc_out(forget->channel) ||
|
||||
|
|
Loading…
Add table
Reference in a new issue