aboutsummaryrefslogtreecommitdiff
path: root/src/auditordb/plugin_auditordb_postgres.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-11-06 20:21:36 +0100
committerChristian Grothoff <christian@grothoff.org>2021-11-06 20:21:36 +0100
commitfadfc735fadb0a718989fae6e4c436718e581783 (patch)
tree364a267e0e619a02db631b7f60eeb3d78403575c /src/auditordb/plugin_auditordb_postgres.c
parente8943b019c506cdea4f00dbafe2145cf81424c60 (diff)
downloadexchange-fadfc735fadb0a718989fae6e4c436718e581783.tar.xz
-fix wire_deadline SQL
Diffstat (limited to 'src/auditordb/plugin_auditordb_postgres.c')
-rw-r--r--src/auditordb/plugin_auditordb_postgres.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/auditordb/plugin_auditordb_postgres.c b/src/auditordb/plugin_auditordb_postgres.c
index 0f4cdbddf..5817c880b 100644
--- a/src/auditordb/plugin_auditordb_postgres.c
+++ b/src/auditordb/plugin_auditordb_postgres.c
@@ -207,8 +207,10 @@ setup_connection (struct PostgresClosure *pg)
"SELECT"
" serial_id"
",h_contract_terms"
+ ",h_extensions"
",h_wire"
",exchange_timestamp"
+ ",wire_deadline"
",refund_deadline"
",amount_without_fee_val"
",amount_without_fee_frac"
@@ -1113,7 +1115,7 @@ deposit_confirmation_cb (void *cls,
GNUNET_PQ_result_spec_auto_from_type ("h_contract_terms",
&dc.h_contract_terms),
GNUNET_PQ_result_spec_auto_from_type ("h_extensions",
- &dc.h_contract_terms),
+ &dc.h_extensions),
GNUNET_PQ_result_spec_auto_from_type ("h_wire",
&dc.h_wire),
GNUNET_PQ_result_spec_absolute_time ("exchange_timestamp",