From 4b5efa4e8160634fc6cefce8dcedb38d71f76cc6 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Tue, 4 Apr 2017 16:27:27 +0200 Subject: towards supporting #3887 in the auditor --- src/exchange/taler-exchange-httpd_db.c | 2 +- src/exchange/taler-exchange-httpd_responses.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/exchange') diff --git a/src/exchange/taler-exchange-httpd_db.c b/src/exchange/taler-exchange-httpd_db.c index 11f8d31d3..9e345e806 100644 --- a/src/exchange/taler-exchange-httpd_db.c +++ b/src/exchange/taler-exchange-httpd_db.c @@ -2413,7 +2413,7 @@ TEH_DB_execute_payback (struct MHD_Connection *connection, ret = TEH_plugin->insert_payback_request (TEH_plugin->cls, session, &reserve_pub, - &coin->coin_pub, + coin, coin_sig, coin_blind, &amount, diff --git a/src/exchange/taler-exchange-httpd_responses.c b/src/exchange/taler-exchange-httpd_responses.c index 29ba9e02f..111337c7e 100644 --- a/src/exchange/taler-exchange-httpd_responses.c +++ b/src/exchange/taler-exchange-httpd_responses.c @@ -565,7 +565,7 @@ compile_transaction_history (const struct TALER_EXCHANGEDB_TransactionList *tl) pc.timestamp = GNUNET_TIME_absolute_hton (payback->timestamp); TALER_amount_hton (&pc.payback_amount, &payback->value); - pc.coin_pub = payback->coin_pub; + pc.coin_pub = payback->coin.coin_pub; pc.reserve_pub = payback->reserve_pub; TEH_KS_sign (&pc.purpose, &epub, @@ -737,7 +737,7 @@ compile_reserve_history (const struct TALER_EXCHANGEDB_ReserveHistory *rh, pc.timestamp = GNUNET_TIME_absolute_hton (payback->timestamp); TALER_amount_hton (&pc.payback_amount, &payback->value); - pc.coin_pub = payback->coin_pub; + pc.coin_pub = payback->coin.coin_pub; pc.reserve_pub = payback->reserve_pub; TEH_KS_sign (&pc.purpose, &pub, -- cgit v1.2.3