@@ -912,10 +912,6 @@ def _confirm_summary(
912
912
account_items = account_props ,
913
913
account_title = account_title ,
914
914
extra_items = extra_props ,
915
- account_items = account_items or None ,
916
- account_title = account_title ,
917
- extra_items = extra_items or None ,
918
- >> >> >> > 152 c1acc01 (refactor (core ): improved Stellar transaction signing interface for a more streamlined user experience .)
919
915
extra_title = extra_title or None ,
920
916
),
921
917
br_name ,
@@ -1147,7 +1143,43 @@ async def confirm_trade(
1147
1143
)
1148
1144
menu = Menu .root (menu_items , TR .send__cancel_sign )
1149
1145
1146
+ < << << << HEAD
1150
1147
await confirm_with_menu (trade_layout , menu , "confirm_trade" )
1148
+ == == == =
1149
+ await confirm_with_menu (main_layout , menu , "confirm_payment_request" )
1150
+
1151
+ for sell_amount , buy_amount , t_address , t_account , t_account_path in trades :
1152
+ await confirm_trade (
1153
+ TR .words__swap ,
1154
+ TR .words__assets ,
1155
+ sell_amount ,
1156
+ buy_amount ,
1157
+ t_address ,
1158
+ t_account ,
1159
+ t_account_path ,
1160
+ token_address ,
1161
+ )
1162
+
1163
+ account_items = []
1164
+ if account :
1165
+ account_items .append ((TR .words__account , account ))
1166
+ if account_path :
1167
+ account_items .append ((TR .address_details__derivation_path , account_path ))
1168
+ account_items .append ((TR .ethereum__approve_chain_id , chain_id ))
1169
+
1170
+ await _confirm_summary (
1171
+ None ,
1172
+ None ,
1173
+ maximum_fee ,
1174
+ TR .words__transaction_fee ,
1175
+ TR .words__title_summary ,
1176
+ account_items ,
1177
+ None ,
1178
+ fee_info_items ,
1179
+ TR .confirm_total__title_fee ,
1180
+ "confirm_payment_request" ,
1181
+ )
1182
+ >> >> >> > d79e5c62f1 (fixup ! refactor (core ): improved Stellar transaction signing interface for a more streamlined user experience .)
1151
1183
1152
1184
async def confirm_ethereum_staking_tx (
1153
1185
title : str ,
0 commit comments