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

Function printwire_tu64

devtools/print_wire.c:76–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74}
75
76bool printwire_tu64(const char *fieldname, const u8 **cursor, size_t *plen)
77{
78 u64 v = fromwire_tu64(cursor, plen);
79 if (!*cursor) {
80 printf("**TRUNCATED tu64 %s**\n", fieldname);
81 return false;
82 }
83 printf("%"PRIu64"\n", v);
84 return true;
85}
86
87bool printwire_wireaddr(const char *fieldname, const u8 **cursor, size_t *plen)
88{

Callers

nothing calls this directly

Calls 1

fromwire_tu64Function · 0.50

Tested by

no test coverage detected