summaryrefslogtreecommitdiff
path: root/src/backenddb/plugin_merchantdb_postgres.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2016-06-07 19:54:44 +0200
committerChristian Grothoff <christian@grothoff.org>2016-06-07 19:54:44 +0200
commit4032d7f64a80d7f5f01de646e8f39fc2a0a6e381 (patch)
tree7c72b271c9030c75ef6aa8a8926c47cb1c0e1a88 /src/backenddb/plugin_merchantdb_postgres.c
parent953f4b2cc94db1fc8e9a4c99887d6767137f43d2 (diff)
downloadmerchant-4032d7f64a80d7f5f01de646e8f39fc2a0a6e381.tar.gz
merchant-4032d7f64a80d7f5f01de646e8f39fc2a0a6e381.tar.bz2
merchant-4032d7f64a80d7f5f01de646e8f39fc2a0a6e381.zip
complete test_merchantdb testcase
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",