| 75 | } |
| 76 | |
| 77 | void tlvstream_set_tu64(struct tlv_field **stream, u64 type, u64 value) |
| 78 | { |
| 79 | u8 *ser = tal_arr(NULL, u8, 0); |
| 80 | towire_tu64(&ser, value); |
| 81 | tlvstream_set_raw(stream, type, take(ser), tal_bytelen(ser)); |
| 82 | } |
| 83 | |
| 84 | void tlvstream_set_tu32(struct tlv_field **stream, u64 type, u32 value) |
| 85 | { |
no test coverage detected