@@ -47,7 +47,7 @@ bool show_elements_swap_activity(const network_t network_id, bool initial_propos
4747 size_t num_in_sums , const asset_summary_t * out_sums , size_t num_out_sums , const asset_info_t * assets ,
4848 size_t num_assets );
4949
50- bool show_btc_final_confirmation_activity (uint64_t fee , const char * warning_msg );
50+ bool show_btc_final_confirmation_activity (network_t network_id , uint64_t fee , const char * warning_msg );
5151bool show_elements_final_confirmation_activity (
5252 const network_t network_id , const char * title , const uint64_t fee , const char * warning_msg );
5353
@@ -365,8 +365,9 @@ bool rpc_get_signing_outputs(jade_process_t* process, const CborValue* params, c
365365 return true;
366366}
367367
368- bool show_btc_fee_confirmation_activity (const struct wally_tx * tx , const output_info_t * outinfo ,
369- const script_flavour_t aggregate_inputs_scripts_flavour , const uint64_t input_amount , const uint64_t output_amount )
368+ bool show_btc_fee_confirmation_activity (const network_t network_id , const struct wally_tx * tx ,
369+ const output_info_t * outinfo , const script_flavour_t aggregate_inputs_scripts_flavour , const uint64_t input_amount ,
370+ const uint64_t output_amount )
370371{
371372 JADE_ASSERT (tx );
372373 // outputinfo is optional
@@ -405,7 +406,7 @@ bool show_btc_fee_confirmation_activity(const struct wally_tx* tx, const output_
405406 }
406407
407408 // Return whether the user accepts or declines
408- return show_btc_final_confirmation_activity (fees , warning_msg );
409+ return show_btc_final_confirmation_activity (network_id , fees , warning_msg );
409410}
410411
411412// Loop to generate and send Anti-Exfil signatures as they are requested.
@@ -934,7 +935,7 @@ static void sign_tx_impl(jade_process_t* process, const bool for_liquid)
934935 // User to agree fee amount
935936 // If user cancels we'll send the 'cancelled' error response for the last input message only
936937 if (!show_btc_fee_confirmation_activity (
937- tx , output_info , aggregate_inputs_scripts_flavour , input_amount , output_amount )) {
938+ network_id , tx , output_info , aggregate_inputs_scripts_flavour , input_amount , output_amount )) {
938939 // If using ae-signatures, we need to load the message to send the error back on
939940 if (use_ae_signatures ) {
940941 jade_process_load_in_message (process , true);
0 commit comments