summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/backend/taler-merchant-httpd_pay.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/backend/taler-merchant-httpd_pay.c b/src/backend/taler-merchant-httpd_pay.c
index 300ab9e5..569b71d4 100644
--- a/src/backend/taler-merchant-httpd_pay.c
+++ b/src/backend/taler-merchant-httpd_pay.c
@@ -1406,9 +1406,8 @@ parse_pay (struct MHD_Connection *connection,
session_id = json_string_value (json_object_get (root,
"session_id"));
- if (0 != memcmp (&merchant_pub,
- &pc->mi->pubkey,
- sizeof (struct GNUNET_CRYPTO_EddsaPublicKey)))
+ if (0 != GNUNET_memcmp (&merchant_pub,
+ &pc->mi->pubkey))
{
TALER_LOG_INFO ("Unknown merchant public key included in payment (usually wrong instance chosen)\n");
TMH_RESPONSE_reply_rc (connection,