mirror of
https://github.com/aljazceru/lightning.git
synced 2026-01-03 22:34:21 +01:00
bitcoin/preimage: struct preimage.
We had a hack for 'struct rval' in protobuf_convert.h; make an explicit header and put it in bitcoin/preimage.h. It's not really bitcoin-specific, but it's better than having bitcoin/script depend on an external header. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -2,8 +2,9 @@
|
||||
#define LIGHTNING_DAEMON_PAY_H
|
||||
#include "config.h"
|
||||
|
||||
struct lightningd_state;
|
||||
struct htlc;
|
||||
struct lightningd_state;
|
||||
struct preimage;
|
||||
|
||||
void complete_pay_command(struct lightningd_state *dstate,
|
||||
const struct htlc *htlc);
|
||||
@@ -14,5 +15,5 @@ bool pay_add(struct lightningd_state *dstate,
|
||||
const struct pubkey *ids,
|
||||
struct htlc *htlc,
|
||||
const u8 *fail,
|
||||
const struct rval *r);
|
||||
const struct preimage *r);
|
||||
#endif /* LIGHTNING_DAEMON_PAY_H */
|
||||
|
||||
Reference in New Issue
Block a user