core-lightning/bitcoin/preimage.h

14 lines
303 B
C
Raw Normal View History

#ifndef LIGHTNING_BITCOIN_PREIMAGE_H
#define LIGHTNING_BITCOIN_PREIMAGE_H
#include "config.h"
#include <ccan/short_types/short_types.h>
#include <ccan/structeq/structeq.h>
struct preimage {
u8 r[32];
};
/* Define preimage_eq */
STRUCTEQ_DEF(preimage, 0, r);
#endif /* LIGHTNING_BITCOIN_PREIMAGE_H */