Skip to content

Commit

Permalink
Remove no longer needed remove_singleton_truth_wrapper (#17383)
Browse files Browse the repository at this point in the history
Remove no longer needed remove_singleton_truth_wrapper.
  • Loading branch information
AmineKhaldi authored Jan 24, 2024
1 parent d5188c7 commit a3099b0
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
5 changes: 0 additions & 5 deletions chia/wallet/puzzles/singleton_top_layer.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,11 +183,6 @@ def adapt_inner_puzzle_hash_to_singleton(inner_puzzle_hash: bytes32) -> bytes32:
return puzzle.get_tree_hash_precalc(inner_puzzle_hash)


def remove_singleton_truth_wrapper(puzzle: Program) -> Program:
inner_puzzle = puzzle.rest().first().rest()
return inner_puzzle


# Take standard coin and amount -> launch conditions & launcher coin solution
def launch_conditions_and_coinsol(
coin: Coin,
Expand Down
5 changes: 0 additions & 5 deletions chia/wallet/puzzles/singleton_top_layer_v1_1.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,11 +172,6 @@ def generate_launcher_coin(coin: Coin, amount: uint64) -> Coin:
return Coin(coin.name(), SINGLETON_LAUNCHER_HASH, amount)


def remove_singleton_truth_wrapper(puzzle: Program) -> Program:
inner_puzzle: Program = puzzle.rest().first().rest()
return inner_puzzle


# Take standard coin and amount -> launch conditions & launcher coin solution
def launch_conditions_and_coinsol(
coin: Coin,
Expand Down

0 comments on commit a3099b0

Please sign in to comment.