is CouponHashSet deserialization incorrect? 266/head
authoretseidl <etseidl@users.noreply.github.com>
Wed, 9 Mar 2022 16:46:56 +0000 (08:46 -0800)
committerGitHub <noreply@github.com>
Wed, 9 Mar 2022 16:46:56 +0000 (08:46 -0800)
commit077cc93834ff14ebe93738c92073dd1f4f615b2a
tree51cfd1e449f1879cfe48e1f51bc8612ddeababe8
parente6fa0526520667d70e710211c5a37e7cc3e80655
is CouponHashSet deserialization incorrect?

When deserializing an updatable CouponHashSet from a byte array, wouldn't you need to copy the entire coupons array rather than just using couponCount since the hash array is not populated sequentially like the CouponList?
hll/include/CouponHashSet-internal.hpp