MCPcopy Create free account
hub / github.com/ElementsProject/lightning / printwire_tu32

Function printwire_tu32

devtools/print_wire.c:65–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

63}
64
65bool printwire_tu32(const char *fieldname, const u8 **cursor, size_t *plen)
66{
67 u32 v = fromwire_tu32(cursor, plen);
68 if (!*cursor) {
69 printf("**TRUNCATED tu32 %s**\n", fieldname);
70 return false;
71 }
72 printf("%u\n", v);
73 return true;
74}
75
76bool printwire_tu64(const char *fieldname, const u8 **cursor, size_t *plen)
77{

Callers

nothing calls this directly

Calls 1

fromwire_tu32Function · 0.50

Tested by

no test coverage detected