We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 16606af commit 17e0b93Copy full SHA for 17e0b93
lightning/src/util/ser_macros.rs
@@ -381,9 +381,6 @@ macro_rules! init_tlv_based_struct_field {
381
($field: ident, vec_type) => {
382
$field.unwrap()
383
};
384
- ($field: ident, tlv_record) => {
385
- $field
386
- };
387
}
388
389
macro_rules! init_tlv_field_var {
@@ -498,7 +495,7 @@ macro_rules! tlv_stream {
498
495
499
496
Ok(Self {
500
497
$(
501
- $field: init_tlv_based_struct_field!($field, tlv_record)
+ $field: $field
502
),*
503
})
504
0 commit comments