mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-03-06 04:13:17 +01:00
lightning/pay: fix missing include.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
parent
798c4b73c4
commit
018c1d932d
1 changed files with 18 additions and 0 deletions
18
lightningd/pay.h
Normal file
18
lightningd/pay.h
Normal file
|
@ -0,0 +1,18 @@
|
|||
#ifndef LIGHTNING_LIGHTNINGD_PAY_H
|
||||
#define LIGHTNING_LIGHTNINGD_PAY_H
|
||||
#include "config.h"
|
||||
#include <wire/gen_onion_wire.h>
|
||||
|
||||
struct htlc_end;
|
||||
struct lightningd;
|
||||
struct preimage;
|
||||
struct pubkey;
|
||||
|
||||
void payment_succeeded(struct lightningd *ld, struct htlc_end *dst,
|
||||
const struct preimage *rval);
|
||||
|
||||
void payment_failed(struct lightningd *ld, struct htlc_end *dst,
|
||||
const struct pubkey *sender,
|
||||
enum onion_type failure_code);
|
||||
|
||||
#endif /* LIGHTNING_LIGHTNINGD_PAY_H */
|
Loading…
Add table
Reference in a new issue