commit 78f0bae5a57c0954688053f584c84e5e580f12eb
parent d5cde4835d532b56018490744631950e0e5c8592
Author: Christian Grothoff <christian@grothoff.org>
Date: Thu, 30 Nov 2017 11:22:19 +0100
fix #5187
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/backend/taler-merchant-httpd_refund.c b/src/backend/taler-merchant-httpd_refund.c
@@ -266,7 +266,9 @@ MH_handler_refund_increase (struct TMH_RequestHandler *rh,
confirmation.purpose.purpose = htonl (TALER_SIGNATURE_MERCHANT_REFUND_OK);
confirmation.purpose.size = htonl (sizeof (struct TALER_MerchantRefundConfirmationPS));
-
+ GNUNET_CRYPTO_hash (order_id,
+ strlen (order_id),
+ &confirmation.h_order_id);
if (GNUNET_OK !=
GNUNET_CRYPTO_eddsa_sign (&mi->privkey.eddsa_priv,
&confirmation.purpose,