summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/backend/taler-merchant-httpd_pay.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/taler-merchant-httpd_pay.c b/src/backend/taler-merchant-httpd_pay.c
index f0a25627..3a6bde52 100644
--- a/src/backend/taler-merchant-httpd_pay.c
+++ b/src/backend/taler-merchant-httpd_pay.c
@@ -1716,7 +1716,7 @@ check_coin_refunded (void *cls,
struct DepositConfirmation *dc = &pc->dc[i];
/* Get matching coin from results*/
- if (0 != GNUNET_memcmp (coin_pub,
+ if (0 == GNUNET_memcmp (coin_pub,
&dc->coin_pub))
{
dc->refunded = GNUNET_YES;