diff options
| author | Christian Grothoff <christian@grothoff.org> | 2022-11-18 10:49:53 +0100 | 
|---|---|---|
| committer | Christian Grothoff <christian@grothoff.org> | 2022-11-18 10:49:53 +0100 | 
| commit | 7d3ce9bb5d03e42f97102acfc303b590f89e5d40 (patch) | |
| tree | d2f8a6f43ae877f93b5b36fcc69f5f1a2c3aa4b3 /src/exchangedb | |
| parent | 3d4baa996936b55b595d4f2f619ce47472a21d10 (diff) | |
| parent | baeb59ee130308623f31807c8ba94df9b5fb23f9 (diff) | |
Merge branch 'bug-7276'
Diffstat (limited to 'src/exchangedb')
| -rw-r--r-- | src/exchangedb/pg_insert_deposit.c | 10 | 
1 files changed, 6 insertions, 4 deletions
| diff --git a/src/exchangedb/pg_insert_deposit.c b/src/exchangedb/pg_insert_deposit.c index 09247e28..ec4d49bf 100644 --- a/src/exchangedb/pg_insert_deposit.c +++ b/src/exchangedb/pg_insert_deposit.c @@ -26,18 +26,20 @@  #include "pg_helper.h"  #include "pg_setup_wire_target.h"  #include "pg_compute_shard.h" + +  enum GNUNET_DB_QueryStatus  TEH_PG_insert_deposit (void *cls, -                         struct GNUNET_TIME_Timestamp exchange_timestamp, -                         const struct TALER_EXCHANGEDB_Deposit *deposit) +                       struct GNUNET_TIME_Timestamp exchange_timestamp, +                       const struct TALER_EXCHANGEDB_Deposit *deposit)  {    struct PostgresClosure *pg = cls;    struct TALER_PaytoHashP h_payto;    enum GNUNET_DB_QueryStatus qs;    qs = TEH_PG_setup_wire_target (pg, -                          deposit->receiver_wire_account, -                          &h_payto); +                                 deposit->receiver_wire_account, +                                 &h_payto);    if (qs < 0)      return qs;    if (GNUNET_TIME_timestamp_cmp (deposit->wire_deadline, | 
