summaryrefslogtreecommitdiff
path: root/src/exchange/taler-exchange-httpd_deposit.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2019-06-05 21:26:27 +0200
committerChristian Grothoff <christian@grothoff.org>2019-06-05 21:26:27 +0200
commit2f0015b80385364ffbacca71504a96a46db6f0e0 (patch)
tree251b2f5a0329c668fd75fda2ad367c29c2316dc1 /src/exchange/taler-exchange-httpd_deposit.c
parent466a7b7018c0a53a27e1d431019f6b5f7b3562e4 (diff)
downloadexchange-2f0015b80385364ffbacca71504a96a46db6f0e0.tar.gz
exchange-2f0015b80385364ffbacca71504a96a46db6f0e0.tar.bz2
exchange-2f0015b80385364ffbacca71504a96a46db6f0e0.zip
add locking to avoid transaction retries
Diffstat (limited to 'src/exchange/taler-exchange-httpd_deposit.c')
-rw-r--r--src/exchange/taler-exchange-httpd_deposit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/exchange/taler-exchange-httpd_deposit.c b/src/exchange/taler-exchange-httpd_deposit.c
index 5a1bf496..5320c9c7 100644
--- a/src/exchange/taler-exchange-httpd_deposit.c
+++ b/src/exchange/taler-exchange-httpd_deposit.c
@@ -215,8 +215,8 @@ deposit_transaction (void *cls,
TEH_plugin->free_coin_transaction_list (TEH_plugin->cls,
tl);
qs = TEH_plugin->insert_deposit (TEH_plugin->cls,
- session,
- deposit);
+ session,
+ deposit);
if (GNUNET_DB_STATUS_HARD_ERROR == qs)
{
TALER_LOG_WARNING ("Failed to store /deposit information in database\n");