Skip to content

Commit

Permalink
fix typo in type stubs for HeaderBlock
Browse files Browse the repository at this point in the history
  • Loading branch information
arvidn committed Nov 25, 2023
1 parent 9dfeff7 commit 62453f0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion wheel/chia_rs.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -812,7 +812,7 @@ class HeaderBlock:
total_iters: int
log_string: str
is_transaction_block: bool
first_in_sub_slots: bool
first_in_sub_slot: bool
def __init__(
self,
finished_sub_slots: Sequence[EndOfSubSlotBundle],
Expand Down
2 changes: 1 addition & 1 deletion wheel/generate_type_stubs.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ def parse_rust_source(filename: str) -> List[Tuple[str, List[str]]]:
"total_iters: int",
"log_string: str",
"is_transaction_block: bool",
"first_in_sub_slots: bool",
"first_in_sub_slot: bool",
],
"RewardChainBlock": [
"def get_unfinished(self) -> RewardChainBlockUnfinished: ...",
Expand Down

0 comments on commit 62453f0

Please sign in to comment.