lightningd: create new return code for enableoffer.

Suggested-by: https://github.com/Lagrang3
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2024-08-09 14:57:50 +09:30
parent 1e1edfd073
commit 975dd76086
5 changed files with 15 additions and 2 deletions

View File

@@ -112,6 +112,7 @@ enum jsonrpc_errcode {
OFFER_ROUTE_NOT_FOUND = 1003,
OFFER_BAD_INVREQ_REPLY = 1004,
OFFER_TIMEOUT = 1005,
OFFER_ALREADY_ENABLED = 1006,
/* Errors from datastore command */
DATASTORE_DEL_DOES_NOT_EXIST = 1200,