aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mint/taler-mint-httpd_db.c2
-rw-r--r--src/mint/taler-mint-httpd_refresh.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/src/mint/taler-mint-httpd_db.c b/src/mint/taler-mint-httpd_db.c
index 2a4c16748..0e5ac1429 100644
--- a/src/mint/taler-mint-httpd_db.c
+++ b/src/mint/taler-mint-httpd_db.c
@@ -1158,7 +1158,7 @@ TMH_DB_execute_refresh_reveal (struct MHD_Connection *connection,
session_hash,
i + off,
refresh_session.num_oldcoins,
- transfer_privs[i + off],
+ transfer_privs[i],
melts,
refresh_session.num_newcoins,
denom_pubs)))
diff --git a/src/mint/taler-mint-httpd_refresh.c b/src/mint/taler-mint-httpd_refresh.c
index 16fe3557f..f5bfb3c8b 100644
--- a/src/mint/taler-mint-httpd_refresh.c
+++ b/src/mint/taler-mint-httpd_refresh.c
@@ -505,6 +505,7 @@ handle_refresh_melt_json (struct MHD_Connection *connection,
num_newcoins);
return (GNUNET_SYSERR == res) ? MHD_NO : MHD_YES;
}
+
GNUNET_CRYPTO_hash_context_read (hash_context,
rcc->coin_ev,
rcc->coin_ev_size);