summaryrefslogtreecommitdiff
path: root/src/backenddb/plugin_merchantdb_postgres.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/backenddb/plugin_merchantdb_postgres.c')
-rw-r--r--src/backenddb/plugin_merchantdb_postgres.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backenddb/plugin_merchantdb_postgres.c b/src/backenddb/plugin_merchantdb_postgres.c
index 836be57c..6bd21aff 100644
--- a/src/backenddb/plugin_merchantdb_postgres.c
+++ b/src/backenddb/plugin_merchantdb_postgres.c
@@ -579,8 +579,8 @@ postgres_find_transaction_by_id (void *cls,
&h_contract),
GNUNET_PQ_result_spec_auto_from_type ("h_wire",
&h_wire),
- GNUNET_PQ_result_spec_auto_from_type ("timestamp",
- &timestamp),
+ GNUNET_PQ_result_spec_absolute_time ("timestamp",
+ &timestamp),
GNUNET_PQ_result_spec_absolute_time ("refund_deadline",
&refund_deadline),
TALER_PQ_result_spec_amount ("total_amount",