aboutsummaryrefslogtreecommitdiff
path: root/src/exchangedb/pg_reserves_in_insert.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2022-11-23 13:40:13 +0100
committerChristian Grothoff <christian@grothoff.org>2022-11-23 13:40:13 +0100
commit0429b0cede718e3306e088993023dbe3b47c3382 (patch)
treea23a061faacecfa0837cd4846c87a6f39f6db4af /src/exchangedb/pg_reserves_in_insert.c
parent505ea0a0431d54dd8be76cb6ca6c7846db04d76f (diff)
parentd3b46de9f82574cdb85ae2ad7a7a5cb5390471f2 (diff)
Merge branch 'master' of git+ssh://git.taler.net/exchange
Diffstat (limited to 'src/exchangedb/pg_reserves_in_insert.c')
-rw-r--r--src/exchangedb/pg_reserves_in_insert.c14
1 files changed, 8 insertions, 6 deletions
diff --git a/src/exchangedb/pg_reserves_in_insert.c b/src/exchangedb/pg_reserves_in_insert.c
index 2fcca241..428e1923 100644
--- a/src/exchangedb/pg_reserves_in_insert.c
+++ b/src/exchangedb/pg_reserves_in_insert.c
@@ -31,6 +31,8 @@
#include "pg_reserves_update.h"
#include "pg_setup_wire_target.h"
#include "pg_event_notify.h"
+
+
/**
* Generate event notification for the reserve
* change.
@@ -38,7 +40,6 @@
* @param pg plugin state
* @param reserve_pub reserve to notfiy on
*/
-
static void
notify_on_reserve (struct PostgresClosure *pg,
const struct TALER_ReservePublicKeyP *reserve_pub)
@@ -52,11 +53,12 @@ notify_on_reserve (struct PostgresClosure *pg,
GNUNET_log (GNUNET_ERROR_TYPE_INFO,
"Notifying on reserve!\n");
TEH_PG_event_notify (pg,
- &rep.header,
- NULL,
- 0);
+ &rep.header,
+ NULL,
+ 0);
}
+
enum GNUNET_DB_QueryStatus
TEH_PG_reserves_in_insert (void *cls,
const struct TALER_ReservePublicKeyP *reserve_pub,
@@ -135,8 +137,8 @@ TEH_PG_reserves_in_insert (void *cls,
struct TALER_PaytoHashP h_payto;
qs3 = TEH_PG_setup_wire_target (pg,
- sender_account_details,
- &h_payto);
+ sender_account_details,
+ &h_payto);
if (qs3 < 0)
return qs3;
/* We do not have the UUID, so insert by public key */