fix auditordb

This commit is contained in:
Marcello Stanisci 2019-01-30 15:28:52 +01:00
parent f68e7d0b07
commit 48b76fc089
No known key found for this signature in database
GPG Key ID: 8D526861953F4C0F

View File

@ -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),