summaryrefslogtreecommitdiff
path: root/src/lib/exchange_api_common.c
diff options
context:
space:
mode:
authorChristian Grothoff <grothoff@gnunet.org>2021-10-25 17:19:41 +0200
committerChristian Grothoff <christian@grothoff.org>2021-10-27 09:23:13 +0200
commitf7d08e8c2bbd6c5eaa73f339f551683c9d93ebeb (patch)
tree13b04b5bcfca900f89ecdb1f979e6602ba1f0522 /src/lib/exchange_api_common.c
parent58ea04167ca46e7ef82d25900cae731741854279 (diff)
downloadexchange-f7d08e8c2bbd6c5eaa73f339f551683c9d93ebeb.tar.gz
exchange-f7d08e8c2bbd6c5eaa73f339f551683c9d93ebeb.tar.bz2
exchange-f7d08e8c2bbd6c5eaa73f339f551683c9d93ebeb.zip
-work on FTBFS;
Diffstat (limited to 'src/lib/exchange_api_common.c')
-rw-r--r--src/lib/exchange_api_common.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/lib/exchange_api_common.c b/src/lib/exchange_api_common.c
index 143ceddae..1cb11f1be 100644
--- a/src/lib/exchange_api_common.c
+++ b/src/lib/exchange_api_common.c
@@ -340,10 +340,8 @@ TALER_EXCHANGE_parse_reserve_history (
}
TALER_amount_hton (&rcc.closing_amount,
&amount);
- GNUNET_CRYPTO_hash (
- rh->details.close_details.receiver_account_details,
- strlen (rh->details.close_details.receiver_account_details) + 1,
- &rcc.h_wire);
+ TALER_payto_hash (rh->details.close_details.receiver_account_details,
+ &rcc.h_payto);
rcc.wtid = rh->details.close_details.wtid;
rcc.purpose.size = htonl (sizeof (rcc));
rcc.purpose.purpose = htonl (TALER_SIGNATURE_EXCHANGE_RESERVE_CLOSED);