merchant

Merchant backend to process payments, run by merchants
Log | Files | Refs | Submodules | README | LICENSE

commit a23cb140c563860041d930efd481fb3feade9acc
parent 4dd2fd82dd8dc24dd53f33cb3d48da175ed90108
Author: Florian Dold <florian.dold@gmail.com>
Date:   Mon, 26 Aug 2019 00:21:15 +0200

oops, call insert_session_info prepared statement correctly

Diffstat:
Msrc/backenddb/plugin_merchantdb_postgres.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backenddb/plugin_merchantdb_postgres.c b/src/backenddb/plugin_merchantdb_postgres.c @@ -1197,8 +1197,8 @@ postgres_find_session_info (void *cls, struct PostgresClosure *pg = cls; struct GNUNET_PQ_QueryParam params[] = { - GNUNET_PQ_query_param_auto_from_type (session_id), GNUNET_PQ_query_param_auto_from_type (resource_url), + GNUNET_PQ_query_param_auto_from_type (session_id), GNUNET_PQ_query_param_auto_from_type (merchant_pub), GNUNET_PQ_query_param_end }; @@ -1210,7 +1210,7 @@ postgres_find_session_info (void *cls, // We don't clean up the result spec since we want // to keep around the memory for order_id. return GNUNET_PQ_eval_prepared_singleton_select (pg->conn, - "find_contract_terms_history", + "find_session_info", params, rs); }