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

Function printwire_s32

devtools/print_wire.c:80–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78}
79
80bool printwire_s32(const char *fieldname, const u8 **cursor, size_t *plen)
81{
82 s32 v = fromwire_s32(cursor, plen);
83 if (!*cursor) {
84 printf("**TRUNCATED s64 %s**\n", fieldname);
85 return false;
86 }
87 printf("%d\n", v);
88 return true;
89}
90
91bool printwire_s64(const char *fieldname, const u8 **cursor, size_t *plen)
92{

Callers

nothing calls this directly

Calls 1

fromwire_s32Function · 0.85

Tested by

no test coverage detected