diff options
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/taler_signatures.h | 2 | ||||
-rw-r--r-- | src/include/taler_util.h | 11 |
2 files changed, 12 insertions, 1 deletions
diff --git a/src/include/taler_signatures.h b/src/include/taler_signatures.h index 34d133807..6293a2577 100644 --- a/src/include/taler_signatures.h +++ b/src/include/taler_signatures.h @@ -1677,7 +1677,7 @@ struct TALER_ReserveCloseConfirmationPS /** * Hash of the receiver's bank account. */ - struct TALER_PaytoHash h_wire; + struct TALER_PaytoHash h_payto; /** * Wire transfer subject. diff --git a/src/include/taler_util.h b/src/include/taler_util.h index 4faa75c4f..d62882b4c 100644 --- a/src/include/taler_util.h +++ b/src/include/taler_util.h @@ -328,6 +328,17 @@ TALER_payto_get_method (const char *payto_uri); /** + * Compute the hash of a payto URI. + * + * @param payto URI to hash + * @param[out] h_payto where to write the hash + */ +void +TALER_payto_hash (const char *payto, + struct TALER_PaytoHash *h_payto); + + +/** * Obtain the account name from a payto URL. * * @param payto an x-taler-bank payto URL |