summaryrefslogtreecommitdiff
path: root/src/exchangedb/plugin_exchangedb_postgres.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-01-10 12:56:13 +0100
committerChristian Grothoff <christian@grothoff.org>2021-01-10 12:56:13 +0100
commit5e80154f430a5b24f8fcf5dbb68bfb9862f3b96a (patch)
treeb9a0bc6b917b55e99d8c50ea7b7efeb5ac858b94 /src/exchangedb/plugin_exchangedb_postgres.c
parentb40afe196c3c76c3df1538ff64be55de4e1dbcec (diff)
downloadexchange-5e80154f430a5b24f8fcf5dbb68bfb9862f3b96a.tar.gz
exchange-5e80154f430a5b24f8fcf5dbb68bfb9862f3b96a.tar.bz2
exchange-5e80154f430a5b24f8fcf5dbb68bfb9862f3b96a.zip
complete (untested) implementation of lrbt_callbacks
Diffstat (limited to 'src/exchangedb/plugin_exchangedb_postgres.c')
-rw-r--r--src/exchangedb/plugin_exchangedb_postgres.c18
1 files changed, 11 insertions, 7 deletions
diff --git a/src/exchangedb/plugin_exchangedb_postgres.c b/src/exchangedb/plugin_exchangedb_postgres.c
index b81fb7c1b..a815c1b1a 100644
--- a/src/exchangedb/plugin_exchangedb_postgres.c
+++ b/src/exchangedb/plugin_exchangedb_postgres.c
@@ -3625,9 +3625,9 @@ add_recoup (void *cls,
&recoup->timestamp),
GNUNET_PQ_result_spec_auto_from_type ("denom_pub_hash",
&recoup->coin.denom_pub_hash),
- GNUNET_PQ_result_spec_rsa_signature ("denom_sig",
- &recoup->coin.denom_sig.
- rsa_signature),
+ GNUNET_PQ_result_spec_rsa_signature (
+ "denom_sig",
+ &recoup->coin.denom_sig.rsa_signature),
GNUNET_PQ_result_spec_end
};
@@ -5976,10 +5976,14 @@ postgres_lookup_transfer_by_deposit (
struct TALER_Amount amount_with_fee;
struct TALER_Amount deposit_fee;
struct GNUNET_PQ_ResultSpec rs[] = {
- GNUNET_PQ_result_spec_auto_from_type ("wtid_raw", &wtid),
- TALER_PQ_result_spec_absolute_time ("execution_date", &exec_time),
- TALER_PQ_RESULT_SPEC_AMOUNT ("amount_with_fee", &amount_with_fee),
- TALER_PQ_RESULT_SPEC_AMOUNT ("fee_deposit", &deposit_fee),
+ GNUNET_PQ_result_spec_auto_from_type ("wtid_raw",
+ &wtid),
+ TALER_PQ_result_spec_absolute_time ("execution_date",
+ &exec_time),
+ TALER_PQ_RESULT_SPEC_AMOUNT ("amount_with_fee",
+ &amount_with_fee),
+ TALER_PQ_RESULT_SPEC_AMOUNT ("fee_deposit",
+ &deposit_fee),
GNUNET_PQ_result_spec_end
};