summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMarcello Stanisci <stanisci.m@gmail.com>2019-01-30 15:28:52 +0100
committerMarcello Stanisci <stanisci.m@gmail.com>2019-01-30 15:28:52 +0100
commit48b76fc0897a59419fc9f67cc7f60da218eacbfe (patch)
tree3266cf9edbbb9232b06eb985813dbb9ae7563cf8 /src
parentf68e7d0b07aa36364ef9d546afc51ecaea650479 (diff)
downloadexchange-48b76fc0897a59419fc9f67cc7f60da218eacbfe.tar.gz
exchange-48b76fc0897a59419fc9f67cc7f60da218eacbfe.tar.bz2
exchange-48b76fc0897a59419fc9f67cc7f60da218eacbfe.zip
fix auditordb
Diffstat (limited to 'src')
-rw-r--r--src/auditordb/plugin_auditordb_postgres.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/auditordb/plugin_auditordb_postgres.c b/src/auditordb/plugin_auditordb_postgres.c
index f5cc8b9c..bd216a11 100644
--- a/src/auditordb/plugin_auditordb_postgres.c
+++ b/src/auditordb/plugin_auditordb_postgres.c
@@ -572,7 +572,8 @@ postgres_prepare (PGconn *db_conn)
/* Used in #postgres_get_deposit_confirmations() */
GNUNET_PQ_make_prepare ("auditor_deposit_confirmation_select",
"SELECT"
- " h_contract_terms"
+ " serial_id"
+ ",h_contract_terms"
",h_wire"
",timestamp"
",refund_deadline"
@@ -1494,7 +1495,7 @@ deposit_confirmation_cb (void *cls,
&dc.h_contract_terms),
GNUNET_PQ_result_spec_auto_from_type ("h_wire",
&dc.h_wire),
- GNUNET_PQ_result_spec_absolute_time ("timetamp",
+ GNUNET_PQ_result_spec_absolute_time ("timestamp",
&dc.timestamp),
GNUNET_PQ_result_spec_absolute_time ("refund_deadline",
&dc.refund_deadline),