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

Function printwire_s16

devtools/print_wire.c:69–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67}
68
69bool printwire_s16(const char *fieldname, const u8 **cursor, size_t *plen)
70{
71 s16 v = fromwire_s16(cursor, plen);
72 if (!*cursor) {
73 printf("**TRUNCATED s64 %s**\n", fieldname);
74 return false;
75 }
76 printf("%d\n", v);
77 return true;
78}
79
80bool printwire_s32(const char *fieldname, const u8 **cursor, size_t *plen)
81{

Callers

nothing calls this directly

Calls 1

fromwire_s16Function · 0.85

Tested by

no test coverage detected