aboutsummaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2022-05-09 13:25:10 +0200
committerChristian Grothoff <christian@grothoff.org>2022-05-09 13:25:10 +0200
commit99a844e52e48bb6e8ed63fc737d6ee62b3f0baf6 (patch)
tree15656e1652059f00600f04b19f06c3658855afb3 /src/lib
parent06bfbd9150e61a1b076175b22b27be4c88e058f3 (diff)
check reserve balance after p2p merges
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/exchange_api_reserves_status.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/lib/exchange_api_reserves_status.c b/src/lib/exchange_api_reserves_status.c
index eecd40b9c..f1221c2ba 100644
--- a/src/lib/exchange_api_reserves_status.c
+++ b/src/lib/exchange_api_reserves_status.c
@@ -318,10 +318,11 @@ TALER_EXCHANGE_reserves_status (
json_decref (status_obj);
}
ctx = TEAH_handle_to_context (exchange);
- rsh->job = GNUNET_CURL_job_add (ctx,
- eh,
- &handle_reserves_status_finished,
- rsh);
+ rsh->job = GNUNET_CURL_job_add2 (ctx,
+ eh,
+ rsh->post_ctx.headers,
+ &handle_reserves_status_finished,
+ rsh);
return rsh;
}