aboutsummaryrefslogtreecommitdiff
path: root/src/exchange/taler-exchange-httpd_reserves_close.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2022-10-03 23:54:12 +0200
committerChristian Grothoff <christian@grothoff.org>2022-10-03 23:54:12 +0200
commit856b8e26c2b83ebce31eb35c9fc9f23641187be9 (patch)
tree534951703f78a785702d0d2d82a43b425684ca60 /src/exchange/taler-exchange-httpd_reserves_close.c
parent4a487b179c013886721c4aa06af9c75e9aad508c (diff)
-more work on new DB logic
Diffstat (limited to 'src/exchange/taler-exchange-httpd_reserves_close.c')
-rw-r--r--src/exchange/taler-exchange-httpd_reserves_close.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/exchange/taler-exchange-httpd_reserves_close.c b/src/exchange/taler-exchange-httpd_reserves_close.c
index 6d998bb9..be36f1e7 100644
--- a/src/exchange/taler-exchange-httpd_reserves_close.c
+++ b/src/exchange/taler-exchange-httpd_reserves_close.c
@@ -297,14 +297,13 @@ reserve_close_transaction (void *cls,
return GNUNET_DB_STATUS_HARD_ERROR;
}
-
qs = TEH_plugin->insert_close_request (TEH_plugin->cls,
rcc->reserve_pub,
payto_uri,
&rcc->reserve_sig,
rcc->timestamp,
- &wf->closing,
- &rcc->wire_amount);
+ &balance,
+ &wf->closing);
GNUNET_free (payto_uri);
if (GNUNET_DB_STATUS_HARD_ERROR == qs)
{