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