From fadfc735fadb0a718989fae6e4c436718e581783 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sat, 6 Nov 2021 20:21:36 +0100 Subject: -fix wire_deadline SQL --- src/auditordb/plugin_auditordb_postgres.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/auditordb/plugin_auditordb_postgres.c') diff --git a/src/auditordb/plugin_auditordb_postgres.c b/src/auditordb/plugin_auditordb_postgres.c index 0f4cdbdd..5817c880 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", -- cgit v1.2.3