diff options
author | Marcello Stanisci <marcello.stanisci@inria.fr> | 2016-10-07 18:21:12 +0200 |
---|---|---|
committer | Marcello Stanisci <marcello.stanisci@inria.fr> | 2016-10-07 18:21:12 +0200 |
commit | f03c1175df3b413e2352e02546191875e4064f9c (patch) | |
tree | 35c868a236ea6d8a4d19087d49bfe854e3a9a362 /src/include | |
parent | 581ca300528ca6c406d20c0ed75b7b941f010c5f (diff) |
typo
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/taler_error_codes.h | 2 | ||||
-rw-r--r-- | src/include/taler_signatures.h | 11 |
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; }; |