mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-20 15:44:21 +01:00
rpc: checkmessage return an error if pubkey is not found
Returning an warning message when the pub key is not specified and there is no node in the graph. We try to help people that use core lightning as a signer and nothings else. Changelog-Deprecated: rpc: checkmessage return an error when the pubkey is not specified and it is unknown in the network graph.
This commit is contained in:
committed by
Christian Decker
parent
5abed486d0
commit
1d671a2380
@@ -100,6 +100,9 @@ static const errcode_t DATASTORE_UPDATE_WRONG_GENERATION = 1204;
|
||||
static const errcode_t DATASTORE_UPDATE_HAS_CHILDREN = 1205;
|
||||
static const errcode_t DATASTORE_UPDATE_NO_CHILDREN = 1206;
|
||||
|
||||
/* Errors from signmessage command */
|
||||
static const errcode_t SIGNMESSAGE_PUBKEY_NOT_FOUND = 1301;
|
||||
|
||||
/* Errors from wait* commands */
|
||||
static const errcode_t WAIT_TIMEOUT = 2000;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user