From f03c1175df3b413e2352e02546191875e4064f9c Mon Sep 17 00:00:00 2001 From: Marcello Stanisci Date: Fri, 7 Oct 2016 18:21:12 +0200 Subject: typo --- src/include/taler_error_codes.h | 2 +- src/include/taler_signatures.h | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/include/taler_error_codes.h b/src/include/taler_error_codes.h index e23de24b3..bbb300440 100644 --- a/src/include/taler_error_codes.h +++ b/src/include/taler_error_codes.h @@ -17,7 +17,7 @@ * @file taler_error_codes.h * @brief error codes returned by GNU Taler * - * This file should defines constants for error codes returned + * This file should define constants for error codes returned * in Taler APIs. We use codes above 1000 to avoid any * confusing with HTTP status codes. All constants have the * shared prefix "TALER_EC_" to indicate that they are error diff --git a/src/include/taler_signatures.h b/src/include/taler_signatures.h index 8ce10b722..dae730d0e 100644 --- a/src/include/taler_signatures.h +++ b/src/include/taler_signatures.h @@ -1084,7 +1084,18 @@ struct TALER_ContractPS */ struct PaymentResponsePS { + /** + * Set to TALER_SIGNATURE_MERCHANT_PAYMENT_OK so far. Note that + * unsuccessful payments are usually proven by some exchange's signature, + * thus it is unlikely that a merchant needs to set a purpose other than + * the above mentioned + */ struct GNUNET_CRYPTO_EccSignaturePurpose purpose; + + /** + * Hash of the contract associated with this confirmation + */ + struct GNUNET_HashCode h_contract; }; -- cgit v1.2.3