Skip to content

Commit

Permalink
fix type stubs for Spend
Browse files Browse the repository at this point in the history
  • Loading branch information
arvidn committed Nov 28, 2022
1 parent 5228fab commit 36a3fe4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions wheel/chia_rs.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class Spend:
seconds_relative: int
create_coin: List[Tuple[bytes, int, Optional[bytes]]]
agg_sig_me: List[Tuple[bytes, bytes]]
eligible_for_dedup: bool
flags: int
def __init__(
self,
coin_id: bytes,
Expand All @@ -50,7 +50,7 @@ class Spend:
seconds_relative: int,
create_coin: Sequence[Tuple[bytes, int, Optional[bytes]]],
agg_sig_me: Sequence[Tuple[bytes, bytes]],
eligible_for_dedup: bool
flags: int
) -> None: ...
def __hash__(self) -> int: ...
def __str__(self) -> str: ...
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 @@ -163,7 +163,7 @@ def get_puzzle_and_solution_for_coin(program: bytes, args: bytes, max_cost: int,
"seconds_relative: int",
"create_coin: List[Tuple[bytes, int, Optional[bytes]]]",
"agg_sig_me: List[Tuple[bytes, bytes]]",
"eligible_for_dedup: bool",
"flags: int",
],
)

Expand Down

0 comments on commit 36a3fe4

Please sign in to comment.