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

Function printwire_u64

devtools/print_wire.c:43–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

fromwire_u64Function · 0.50

Tested by

no test coverage detected