aboutsummaryrefslogtreecommitdiff
path: root/src/lib/exchange_api_batch_withdraw2.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2023-06-25 19:10:26 +0200
committerChristian Grothoff <christian@grothoff.org>2023-06-25 19:10:26 +0200
commit421129a32ed88fee49108c76e67c16b60f95116b (patch)
tree48238febcdf91df64e1fe35ddaa5958c373ce372 /src/lib/exchange_api_batch_withdraw2.c
parent75733ee00efc6d5342ed8b4fccd637efaebdce06 (diff)
downloadexchange-421129a32ed88fee49108c76e67c16b60f95116b.tar.xz
next round of exchange API atomization
Diffstat (limited to 'src/lib/exchange_api_batch_withdraw2.c')
-rw-r--r--src/lib/exchange_api_batch_withdraw2.c17
1 files changed, 9 insertions, 8 deletions
diff --git a/src/lib/exchange_api_batch_withdraw2.c b/src/lib/exchange_api_batch_withdraw2.c
index 04c2c0100..6dd421cea 100644
--- a/src/lib/exchange_api_batch_withdraw2.c
+++ b/src/lib/exchange_api_batch_withdraw2.c
@@ -218,14 +218,15 @@ reserve_batch_withdraw_payment_required (
}
if (GNUNET_OK !=
- TALER_EXCHANGE_parse_reserve_history (wh->exchange,
- history,
- &wh->reserve_pub,
- balance.currency,
- &total_in_from_history,
- &total_out_from_history,
- len,
- rhistory))
+ TALER_EXCHANGE_parse_reserve_history (
+ TALER_EXCHANGE_get_keys (wh->exchange),
+ history,
+ &wh->reserve_pub,
+ balance.currency,
+ &total_in_from_history,
+ &total_out_from_history,
+ len,
+ rhistory))
{
GNUNET_break_op (0);
TALER_EXCHANGE_free_reserve_history (rhistory,