mirror of
https://github.com/aljazceru/lightning.git
synced 2026-01-18 21:34:22 +01:00
invoice: Fix mismatch between ">=" and "greated than" in error msg
This commit is contained in:
committed by
Rusty Russell
parent
910e79ddb5
commit
5c38e5a08f
@@ -1163,7 +1163,7 @@ static struct command_result *json_invoice(struct command *cmd,
|
||||
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,
|
||||
"Descriptions greater than %d bytes "
|
||||
"not yet supported "
|
||||
|
||||
Reference in New Issue
Block a user