@@ -1704,7 +1704,6 @@ def put_ft_outputs_by_blueprint(self, ft_blueprint, operations_found_at_inputs,
1704
1704
def color_atomicals_outputs (self , minted_nft , operations_found_at_inputs , atomicals_spent_at_inputs , tx , tx_hash , tx_num , height ):
1705
1705
# Build the "blueprint" for how to assign all atomicals
1706
1706
blueprint_builder = AtomicalsTransferBlueprintBuilder (self .logger , minted_nft , atomicals_spent_at_inputs , operations_found_at_inputs , tx_hash , tx , self .get_atomicals_id_mint_info , self .is_dmint_activated (height ))
1707
-
1708
1707
nft_output_blueprint = blueprint_builder .get_nft_output_blueprint ()
1709
1708
if nft_output_blueprint and len (nft_output_blueprint .outputs ):
1710
1709
if not operations_found_at_inputs or not operations_found_at_inputs ['op' ]:
@@ -2917,7 +2916,7 @@ def advance_txs(
2917
2916
# Color the outputs of any transferred NFT/FT atomicals according to the rules
2918
2917
# This comes after the creation of any atomicals because any newly minted atomicals must be added to the atomicals_spent_at_inputs
2919
2918
# map because we want to avoid merging any NFTs into the same 0'th output
2920
- blueprint_builder = self .color_atomicals_outputs (atomicals_operations_found_at_inputs , atomicals_spent_at_inputs , tx , tx_hash , tx_num , height )
2919
+ blueprint_builder = self .color_atomicals_outputs (minted_atomical_type == 'NFT' , atomicals_operations_found_at_inputs , atomicals_spent_at_inputs , tx , tx_hash , tx_num , height )
2921
2920
for atomical_id in blueprint_builder .get_atomical_ids_spent ():
2922
2921
has_at_least_one_valid_atomicals_operation = True
2923
2922
self .logger .debug (f'advance_txs: color_atomicals_outputs atomical_ids_transferred. atomical_id={ atomical_id .hex ()} , tx_hash={ hash_to_hex_str (tx_hash )} ' )
0 commit comments