@@ -47,7 +47,7 @@ bool show_elements_swap_activity(const network_t network_id, bool initial_propos
47
47
size_t num_in_sums , const asset_summary_t * out_sums , size_t num_out_sums , const asset_info_t * assets ,
48
48
size_t num_assets );
49
49
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 );
51
51
bool show_elements_final_confirmation_activity (
52
52
const network_t network_id , const char * title , const uint64_t fee , const char * warning_msg );
53
53
@@ -365,8 +365,9 @@ bool rpc_get_signing_outputs(jade_process_t* process, const CborValue* params, c
365
365
return true;
366
366
}
367
367
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 )
370
371
{
371
372
JADE_ASSERT (tx );
372
373
// outputinfo is optional
@@ -405,7 +406,7 @@ bool show_btc_fee_confirmation_activity(const struct wally_tx* tx, const output_
405
406
}
406
407
407
408
// 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 );
409
410
}
410
411
411
412
// 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)
934
935
// User to agree fee amount
935
936
// If user cancels we'll send the 'cancelled' error response for the last input message only
936
937
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 )) {
938
939
// If using ae-signatures, we need to load the message to send the error back on
939
940
if (use_ae_signatures ) {
940
941
jade_process_load_in_message (process , true);
0 commit comments