mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-03-26 20:30:59 +01:00
invoice: Fix mismatch between ">=" and "greated than" in error msg
This commit is contained in:
parent
910e79ddb5
commit
5c38e5a08f
1 changed files with 1 additions and 1 deletions
|
@ -1163,7 +1163,7 @@ static struct command_result *json_invoice(struct command *cmd,
|
||||||
INVOICE_MAX_LABEL_LEN);
|
INVOICE_MAX_LABEL_LEN);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (strlen(desc_val) >= BOLT11_FIELD_BYTE_LIMIT) {
|
if (strlen(desc_val) > BOLT11_FIELD_BYTE_LIMIT) {
|
||||||
return command_fail(cmd, JSONRPC2_INVALID_PARAMS,
|
return command_fail(cmd, JSONRPC2_INVALID_PARAMS,
|
||||||
"Descriptions greater than %d bytes "
|
"Descriptions greater than %d bytes "
|
||||||
"not yet supported "
|
"not yet supported "
|
||||||
|
|
Loading…
Add table
Reference in a new issue