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

Function printwire_tu64

devtools/print_wire.c:124–133  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

122}
123
124bool printwire_tu64(const char *fieldname, const u8 **cursor, size_t *plen)
125{
126 u64 v = fromwire_tu64(cursor, plen);
127 if (!*cursor) {
128 printf("**TRUNCATED tu64 %s**\n", fieldname);
129 return false;
130 }
131 printf("%"PRIu64"\n", v);
132 return true;
133}
134
135bool printwire_wireaddr(const char *fieldname, const u8 **cursor, size_t *plen)
136{

Callers

nothing calls this directly

Calls 1

fromwire_tu64Function · 0.50

Tested by

no test coverage detected