@@ -157,16 +157,6 @@ async def async_test(self):
157157 assert_in ("Coins amount: 0" , balance )
158158 assert_in (f"Token: { token_id } amount: { amount_to_mint } " , balance )
159159
160- token_additional_info_for_ptx = [
161- (
162- token_id_dec_array ,
163- {
164- 'num_decimals' : token_number_of_decimals ,
165- 'ticker' : token_ticker .encode ('utf-8' )
166- }
167- )
168- ]
169-
170160 ########################################################################################
171161 # Setup Alice's htlc
172162 alice_secret = bytes ([random .randint (0 , 255 ) for _ in range (32 )])
@@ -197,7 +187,7 @@ async def async_test(self):
197187 'input_utxos' : alice_htlc_outputs ,
198188 'destinations' : [refund_dest_obj , alice_htlc_change_dest ],
199189 'htlc_secrets' : [None , None ],
200- 'additional_info' : {'token_info' : token_additional_info_for_ptx , ' pool_info' : [], 'order_info' : []}
190+ 'additional_info' : {'pool_info' : [], 'order_info' : []}
201191 }
202192 alice_refund_tx_hex = scalecodec .base .RuntimeConfiguration ().create_scale_object ('PartiallySignedTransaction' ).encode (alice_refund_ptx ).to_hex ()[2 :]
203193
@@ -226,7 +216,7 @@ async def async_test(self):
226216 'input_utxos' : bob_htlc_outputs ,
227217 'destinations' : [refund_dest_obj , bob_htlc_change_dest ],
228218 'htlc_secrets' : [None , None ],
229- 'additional_info' : {'token_info' : token_additional_info_for_ptx , ' pool_info' : [], 'order_info' : []}
219+ 'additional_info' : {'pool_info' : [], 'order_info' : []}
230220 }
231221 bob_refund_tx_hex = scalecodec .base .RuntimeConfiguration ().create_scale_object ('PartiallySignedTransaction' ).encode (bob_refund_ptx ).to_hex ()[2 :]
232222
0 commit comments