| 45 | } |
| 46 | |
| 47 | bool printwire_u64(const char *fieldname, const u8 **cursor, size_t *plen) |
| 48 | { |
| 49 | u64 v = fromwire_u64(cursor, plen); |
| 50 | if (!*cursor) { |
| 51 | printf("**TRUNCATED u64 %s**\n", fieldname); |
| 52 | return false; |
| 53 | } |
| 54 | printf("%"PRIu64"\n", v); |
| 55 | return true; |
| 56 | } |
| 57 | |
| 58 | bool printwire_s8(const char *fieldname, const u8 **cursor, size_t *plen) |
| 59 | { |
nothing calls this directly
no test coverage detected