diff --git a/era/era_detail.h b/era/era_detail.h index 8cb8b06..4269afd 100644 --- a/era/era_detail.h +++ b/era/era_detail.h @@ -13,6 +13,11 @@ namespace era { } __attribute__ ((packed)); struct era_detail { + era_detail() + : nr_bits(0), + writeset_root(0) { + } + uint32_t nr_bits; uint64_t writeset_root; };