You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
309 B
15 lines
309 B
5 years ago
|
#include <bitcoin/preimage.h>
|
||
|
#include <wire/wire.h>
|
||
|
|
||
|
void fromwire_preimage(const u8 **cursor, size_t *max, struct preimage *preimage)
|
||
|
{
|
||
|
fromwire(cursor, max, preimage, sizeof(*preimage));
|
||
|
}
|
||
|
|
||
|
void towire_preimage(u8 **pptr, const struct preimage *preimage)
|
||
|
{
|
||
|
towire(pptr, preimage, sizeof(*preimage));
|
||
|
}
|
||
|
|
||
|
|