aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/include')
-rw-r--r--src/include/taler_error_codes.h2
-rw-r--r--src/include/taler_signatures.h11
2 files changed, 12 insertions, 1 deletions
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;
};