mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-18 22:54:25 +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
@@ -20,6 +20,10 @@ known node key (as per *listnodes*), and verification succeeds if it
|
||||
matches for any one of them. Note: this is implemented far more
|
||||
efficiently than trying each one, so performance is not a concern.
|
||||
|
||||
On failure, an error is returned and core lightning exit with the following error code:
|
||||
- -32602: Parameter missed or malformed;
|
||||
- 1301: *pubkey* not found in the graph.
|
||||
|
||||
RETURN VALUE
|
||||
------------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user