summaryrefslogtreecommitdiff
path: root/src/backenddb/plugin_merchantdb_postgres.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2018-01-15 15:40:27 +0100
committerChristian Grothoff <christian@grothoff.org>2018-01-16 12:08:54 +0100
commitf019979799cfb918ce8ea35651dddc0f9039face (patch)
treeb5c3af0c9e912b1b8ddbb901d87c7c7d9bc81276 /src/backenddb/plugin_merchantdb_postgres.c
parent2a8c44fff4f0796c1e3f6e9a5300ebbe09cb2592 (diff)
downloadmerchant-f019979799cfb918ce8ea35651dddc0f9039face.tar.gz
merchant-f019979799cfb918ce8ea35651dddc0f9039face.tar.bz2
merchant-f019979799cfb918ce8ea35651dddc0f9039face.zip
patch for #5198
Diffstat (limited to 'src/backenddb/plugin_merchantdb_postgres.c')
-rw-r--r--src/backenddb/plugin_merchantdb_postgres.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backenddb/plugin_merchantdb_postgres.c b/src/backenddb/plugin_merchantdb_postgres.c
index 66a35293..e5d36330 100644
--- a/src/backenddb/plugin_merchantdb_postgres.c
+++ b/src/backenddb/plugin_merchantdb_postgres.c
@@ -2974,7 +2974,7 @@ postgres_authorize_tip (void *cls,
if (GNUNET_DB_STATUS_SOFT_ERROR == qs)
goto RETRY;
if (GNUNET_DB_STATUS_SUCCESS_NO_RESULTS == qs)
- return TALER_EC_TIP_AUTHORIZE_RESERVE_NOT_ENABLED;
+ return TALER_EC_TIP_AUTHORIZE_INSUFFICIENT_FUNDS;
return TALER_EC_TIP_AUTHORIZE_DB_HARD_ERROR;
}
if (0 == GNUNET_TIME_absolute_get_remaining (old_expiration).rel_value_us)