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

Function printwire_s64

devtools/print_wire.c:91–100  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

89}
90
91bool printwire_s64(const char *fieldname, const u8 **cursor, size_t *plen)
92{
93 s64 v = fromwire_s64(cursor, plen);
94 if (!*cursor) {
95 printf("**TRUNCATED s64 %s**\n", fieldname);
96 return false;
97 }
98 printf("%"PRId64"\n", v);
99 return true;
100}
101
102bool printwire_tu16(const char *fieldname, const u8 **cursor, size_t *plen)
103{

Callers

nothing calls this directly

Calls 1

fromwire_s64Function · 0.85

Tested by

no test coverage detected