diff options
Diffstat (limited to 'src/exchange/taler-exchange-httpd_recoup.c')
-rw-r--r-- | src/exchange/taler-exchange-httpd_recoup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/exchange/taler-exchange-httpd_recoup.c b/src/exchange/taler-exchange-httpd_recoup.c index ccb75622..a3014e78 100644 --- a/src/exchange/taler-exchange-httpd_recoup.c +++ b/src/exchange/taler-exchange-httpd_recoup.c @@ -242,7 +242,7 @@ recoup_transaction (void *cls, GNUNET_log (GNUNET_ERROR_TYPE_INFO, "Recoup: coin value %s\n", TALER_amount2s (&pc->value)); - if (GNUNET_SYSERR == + if (0 > TALER_amount_subtract (&pc->amount, &pc->value, &spent)) |