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

Function printwire_s8

devtools/print_wire.c:58–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56}
57
58bool printwire_s8(const char *fieldname, const u8 **cursor, size_t *plen)
59{
60 s8 v = fromwire_s8(cursor, plen);
61 if (!*cursor) {
62 printf("**TRUNCATED s64 %s**\n", fieldname);
63 return false;
64 }
65 printf("%d\n", v);
66 return true;
67}
68
69bool printwire_s16(const char *fieldname, const u8 **cursor, size_t *plen)
70{

Callers

nothing calls this directly

Calls 1

fromwire_s8Function · 0.85

Tested by

no test coverage detected