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

Function printwire_u32

devtools/print_wire.c:32–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30}
31
32bool printwire_u32(const char *fieldname, const u8 **cursor, size_t *plen)
33{
34 u32 v = fromwire_u32(cursor, plen);
35 if (!*cursor) {
36 printf("**TRUNCATED u32 %s**\n", fieldname);
37 return false;
38 }
39 printf("%u\n", v);
40 return true;
41}
42
43bool printwire_u64(const char *fieldname, const u8 **cursor, size_t *plen)
44{

Callers

nothing calls this directly

Calls 1

fromwire_u32Function · 0.50

Tested by

no test coverage detected