Skip to content

Commit

Permalink
swap get_name_puzzle_conditions to get_conditions_from_spendbundle
Browse files Browse the repository at this point in the history
  • Loading branch information
matt-o-how committed Aug 5, 2024
1 parent ac0fd81 commit 32547fb
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions chia/types/eligible_coin_spends.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import dataclasses
from typing import Awaitable, Callable, Dict, List, Optional, Tuple

from chia_rs import fast_forward_singleton, get_name_puzzle_conditions
from chia_rs import fast_forward_singleton, get_conditions_from_spendbundle

from chia.consensus.condition_costs import ConditionCost
from chia.consensus.constants import ConsensusConstants
Expand Down Expand Up @@ -335,11 +335,10 @@ async def process_fast_forward_spends(
# generator = simple_solution_generator(new_sb)
assert mempool_item.npc_result.conds is not None
try:
new_sbc_result = get_name_puzzle_conditions(
new_sbc_result = get_conditions_from_spendbundle(
new_sb,
mempool_item.npc_result.conds.cost,
constants,
True,
height,
)
except TypeError as e:
Expand Down

0 comments on commit 32547fb

Please sign in to comment.