Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix typo in FullBlock type stub #304

Merged
merged 2 commits into from
Oct 30, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion chia-protocol/src/unfinished_block.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ impl UnfinishedBlock {
}

#[getter]
#[pyo3(name = "prev_header_hash")]
#[pyo3(name = "partial_hash")]
fn py_partial_hash(&self) -> Bytes32 {
self.partial_hash()
}
Expand Down
2 changes: 1 addition & 1 deletion wheel/chia_rs.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -716,7 +716,7 @@ class FullBlock:
total_iters: int
height: int
weight: int
def get_included_reward_coins(self) -> List[Coin]: ...
def get_included_reward_coins(self) -> Set[Coin]: ...
def is_fully_compactified(self) -> bool: ...
def __init__(
self,
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 @@ -161,7 +161,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) -> List[Coin]: ...",
"def get_included_reward_coins(self) -> Set[Coin]: ...",
"def is_fully_compactified(self) -> bool: ...",
],
"RewardChainBlock": [
Expand Down
Loading