From f7d08e8c2bbd6c5eaa73f339f551683c9d93ebeb Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 25 Oct 2021 17:19:41 +0200 Subject: -work on FTBFS; --- src/lib/exchange_api_common.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/lib/exchange_api_common.c') 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); -- cgit v1.2.3