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

Function printwire_tu32

devtools/print_wire.c:113–122  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

111}
112
113bool printwire_tu32(const char *fieldname, const u8 **cursor, size_t *plen)
114{
115 u32 v = fromwire_tu32(cursor, plen);
116 if (!*cursor) {
117 printf("**TRUNCATED tu32 %s**\n", fieldname);
118 return false;
119 }
120 printf("%u\n", v);
121 return true;
122}
123
124bool printwire_tu64(const char *fieldname, const u8 **cursor, size_t *plen)
125{

Callers

nothing calls this directly

Calls 1

fromwire_tu32Function · 0.50

Tested by

no test coverage detected