mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-20 15:44:21 +01:00
plugins/fetchinvoice: catch invoice_request reply.
Using onionmessage hook, we get the response and either present it to the user (invoice) or return the error to the user. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
committed by
Christian Decker
parent
3eada358e9
commit
69ddf818c7
@@ -82,5 +82,6 @@ static const errcode_t OFFER_ALREADY_EXISTS = 1000;
|
||||
static const errcode_t OFFER_ALREADY_DISABLED = 1001;
|
||||
static const errcode_t OFFER_EXPIRED = 1002;
|
||||
static const errcode_t OFFER_ROUTE_NOT_FOUND = 1003;
|
||||
static const errcode_t OFFER_BAD_INVREQ_REPLY = 1004;
|
||||
|
||||
#endif /* LIGHTNING_COMMON_JSONRPC_ERRORS_H */
|
||||
|
||||
Reference in New Issue
Block a user