summaryrefslogtreecommitdiff
path: root/src/lib/exchange_api_deposit.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-12-08 20:33:14 +0100
committerChristian Grothoff <christian@grothoff.org>2021-12-08 20:33:14 +0100
commite0700ad9164867c9209beec09b8001f1741eea15 (patch)
tree1fec321f0d991836b6f2274e14f8b50bb55be9c2 /src/lib/exchange_api_deposit.c
parent21951eacc23611464ada18c99dfb4633b9fcc1b0 (diff)
downloadexchange-e0700ad9164867c9209beec09b8001f1741eea15.tar.gz
exchange-e0700ad9164867c9209beec09b8001f1741eea15.tar.bz2
exchange-e0700ad9164867c9209beec09b8001f1741eea15.zip
optimize /deposit logic to minimize serialization failures (presumably)
Diffstat (limited to 'src/lib/exchange_api_deposit.c')
-rw-r--r--src/lib/exchange_api_deposit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/exchange_api_deposit.c b/src/lib/exchange_api_deposit.c
index 8b93f56ef..3fd3353b2 100644
--- a/src/lib/exchange_api_deposit.c
+++ b/src/lib/exchange_api_deposit.c
@@ -263,7 +263,7 @@ verify_deposit_signature_conflict (
ec = TALER_JSON_get_error_code (json);
switch (ec)
{
- case TALER_EC_EXCHANGE_DEPOSIT_INSUFFICIENT_FUNDS:
+ case TALER_EC_EXCHANGE_GENERIC_INSUFFICIENT_FUNDS:
if (0 >
TALER_amount_add (&total,
&total,