From ea0bc6499f7480acb2f1bcef86f857b11bac47a5 Mon Sep 17 00:00:00 2001 From: Kyle Altendorf Date: Thu, 15 Aug 2024 13:35:28 -0400 Subject: [PATCH] actually add the zeros attributes --- wheel/python/chia_rs/sized_bytes.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/wheel/python/chia_rs/sized_bytes.py b/wheel/python/chia_rs/sized_bytes.py index f68855fbc..779f96eec 100644 --- a/wheel/python/chia_rs/sized_bytes.py +++ b/wheel/python/chia_rs/sized_bytes.py @@ -41,3 +41,6 @@ def _add_zeros(): for cls in list(globals().values()): if isinstance(cls, type) and cls is not SizedBytes and issubclass(cls, SizedBytes): cls.zeros = cls(b"\x00" * cls._size) + + +_add_zeros()