From da137fa4ae21ab8739ef89014b95115ecd7b8eb8 Mon Sep 17 00:00:00 2001 From: Matthew Howard Date: Mon, 29 Jul 2024 14:15:50 +0100 Subject: [PATCH] swap get_name_puzzle_conditions to get_conditions_from_spendbundle --- chia/types/eligible_coin_spends.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/chia/types/eligible_coin_spends.py b/chia/types/eligible_coin_spends.py index 442c64ece0f4..4cd0277124a9 100644 --- a/chia/types/eligible_coin_spends.py +++ b/chia/types/eligible_coin_spends.py @@ -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 @@ -334,11 +334,10 @@ async def process_fast_forward_spends( # We need to run the new spend bundle to make sure it remains valid 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: