mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-19 18:11:28 +01:00
c6997f15c7
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>
10 lines
211 B
C
10 lines
211 B
C
#ifndef LIGHTNING_BITCOIN_PREIMAGE_H
|
|
#define LIGHTNING_BITCOIN_PREIMAGE_H
|
|
#include "config.h"
|
|
#include <ccan/short_types/short_types.h>
|
|
|
|
struct preimage {
|
|
u8 r[32];
|
|
};
|
|
#endif /* LIGHTNING_BITCOIN_PREIMAGE_H */
|