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

Function printwire_u64

devtools/print_wire.c:47–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45}
46
47bool printwire_u64(const char *fieldname, const u8 **cursor, size_t *plen)
48{
49 u64 v = fromwire_u64(cursor, plen);
50 if (!*cursor) {
51 printf("**TRUNCATED u64 %s**\n", fieldname);
52 return false;
53 }
54 printf("%"PRIu64"\n", v);
55 return true;
56}
57
58bool printwire_s8(const char *fieldname, const u8 **cursor, size_t *plen)
59{

Callers

nothing calls this directly

Calls 1

fromwire_u64Function · 0.50

Tested by

no test coverage detected