diff options
author | Christian Grothoff <christian@grothoff.org> | 2021-10-30 19:28:11 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2021-10-30 19:28:11 +0200 |
commit | 963a06c0aa9bba4dec67e41c442548141e5f6186 (patch) | |
tree | 7f2587f0d69f46103ce93805a58b2242c61d5dee /src/exchange/taler-exchange-httpd_responses.c | |
parent | 55ea7fcb9aa5000a857ebdd2ba9b881ddc460a93 (diff) | |
download | exchange-963a06c0aa9bba4dec67e41c442548141e5f6186.tar.gz exchange-963a06c0aa9bba4dec67e41c442548141e5f6186.tar.bz2 exchange-963a06c0aa9bba4dec67e41c442548141e5f6186.zip |
fix more FTBFS issues
Diffstat (limited to 'src/exchange/taler-exchange-httpd_responses.c')
-rw-r--r-- | src/exchange/taler-exchange-httpd_responses.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/exchange/taler-exchange-httpd_responses.c b/src/exchange/taler-exchange-httpd_responses.c index 6747e3bf3..6dd204c6d 100644 --- a/src/exchange/taler-exchange-httpd_responses.c +++ b/src/exchange/taler-exchange-httpd_responses.c @@ -65,7 +65,6 @@ TEH_RESPONSE_compile_transaction_history ( .purpose.purpose = htonl (TALER_SIGNATURE_WALLET_COIN_DEPOSIT), .purpose.size = htonl (sizeof (dr)), .h_contract_terms = deposit->h_contract_terms, - .h_wire = deposit->h_wire, .h_denom_pub = deposit->h_denom_pub, .wallet_timestamp = GNUNET_TIME_absolute_hton (deposit->timestamp), .refund_deadline = GNUNET_TIME_absolute_hton ( @@ -74,6 +73,10 @@ TEH_RESPONSE_compile_transaction_history ( .coin_pub = *coin_pub }; + TALER_merchant_wire_signature_hash (deposit->receiver_wire_account, + &deposit->wire_salt, + &dr.h_wire); + TALER_amount_hton (&dr.amount_with_fee, &deposit->amount_with_fee); TALER_amount_hton (&dr.deposit_fee, @@ -111,7 +114,7 @@ TEH_RESPONSE_compile_transaction_history ( GNUNET_JSON_pack_data_auto ("h_contract_terms", &deposit->h_contract_terms), GNUNET_JSON_pack_data_auto ("h_wire", - &deposit->h_wire), + &dr.h_wire), GNUNET_JSON_pack_data_auto ("h_denom_pub", &deposit->h_denom_pub), GNUNET_JSON_pack_data_auto ("coin_sig", |