diff options
author | Christian Grothoff <christian@grothoff.org> | 2019-06-05 21:26:27 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2019-06-05 21:26:27 +0200 |
commit | 2f0015b80385364ffbacca71504a96a46db6f0e0 (patch) | |
tree | 251b2f5a0329c668fd75fda2ad367c29c2316dc1 /src/exchange/taler-exchange-httpd_deposit.c | |
parent | 466a7b7018c0a53a27e1d431019f6b5f7b3562e4 (diff) | |
download | exchange-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.c | 4 |
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 5a1bf4963..5320c9c75 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"); |