diff --git a/chia-protocol/src/fullblock.rs b/chia-protocol/src/fullblock.rs index 5003f3ba8..4fece2e30 100644 --- a/chia-protocol/src/fullblock.rs +++ b/chia-protocol/src/fullblock.rs @@ -129,8 +129,8 @@ impl FullBlock { } #[pyo3(name = "get_included_reward_coins")] - fn py_get_included_reward_coins(&self) -> HashSet { - HashSet::from_iter(self.get_included_reward_coins()) + fn py_get_included_reward_coins(&self) -> Vec { + self.get_included_reward_coins() } #[pyo3(name = "is_fully_compactified")] diff --git a/wheel/chia_rs.pyi b/wheel/chia_rs.pyi index 8b12895d3..13ebda3c3 100644 --- a/wheel/chia_rs.pyi +++ b/wheel/chia_rs.pyi @@ -756,7 +756,7 @@ class FullBlock: total_iters: int height: int weight: int - def get_included_reward_coins(self) -> Set[Coin]: ... + def get_included_reward_coins(self) -> List[Coin]: ... def is_fully_compactified(self) -> bool: ... def __init__( self, diff --git a/wheel/generate_type_stubs.py b/wheel/generate_type_stubs.py index 2c427733b..d1f459f5f 100644 --- a/wheel/generate_type_stubs.py +++ b/wheel/generate_type_stubs.py @@ -163,7 +163,7 @@ def parse_rust_source(filename: str) -> List[Tuple[str, List[str]]]: "total_iters: int", "height: int", "weight: int", - "def get_included_reward_coins(self) -> Set[Coin]: ...", + "def get_included_reward_coins(self) -> List[Coin]: ...", "def is_fully_compactified(self) -> bool: ...", ], "HeaderBlock": [