From e34d340caeb2d115a9113ddd6e1067355e2e099d Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 14 Aug 2015 22:02:33 +0200 Subject: [PATCH] fix key index --- src/mintdb/plugin_mintdb_postgres.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mintdb/plugin_mintdb_postgres.c b/src/mintdb/plugin_mintdb_postgres.c index d319acad0..0c7d2d36a 100644 --- a/src/mintdb/plugin_mintdb_postgres.c +++ b/src/mintdb/plugin_mintdb_postgres.c @@ -2316,7 +2316,7 @@ postgres_insert_refresh_order (void *cls, struct TALER_PQ_QueryParam params[] = { TALER_PQ_query_param_uint16 (&newcoin_off), TALER_PQ_query_param_auto_from_type (session_hash), - TALER_PQ_query_param_rsa_public_key (denom_pubs->rsa_public_key), + TALER_PQ_query_param_rsa_public_key (denom_pubs[i].rsa_public_key), TALER_PQ_query_param_end }; result = TALER_PQ_exec_prepared (session->conn,