Browse Source
Suggested-by: Rusty Russell <@rustyrussell> Signed-off-by: Christian Decker <decker.christian@gmail.com>pull/2938/head
Christian Decker
6 years ago
committed by
Rusty Russell
15 changed files with 40 additions and 21 deletions
@ -0,0 +1,12 @@ |
|||
#include <common/wallet.h> |
|||
|
|||
enum wallet_tx_type fromwire_wallet_tx_type(const u8 **cursor, size_t *max) |
|||
{ |
|||
enum wallet_tx_type type = fromwire_u16(cursor, max); |
|||
return type; |
|||
} |
|||
|
|||
void towire_wallet_tx_type(u8 **pptr, const enum wallet_tx_type type) |
|||
{ |
|||
towire_u16(pptr, type); |
|||
} |
Can't render this file because it has a wrong number of fields in line 4.
|
Loading…
Reference in new issue