aboutsummaryrefslogtreecommitdiff
path: root/src/backend/taler-merchant-httpd_post-orders-ID-abort.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-05-30 12:15:51 +0200
committerChristian Grothoff <christian@grothoff.org>2020-05-30 12:15:51 +0200
commit870d29d2e56c22c58041d38f320a6b71b3443d12 (patch)
treebebc297b424ea6050d5382414f924dd91a621d1c /src/backend/taler-merchant-httpd_post-orders-ID-abort.c
parent3e75373f6b4998a0c97ee6f735c01f21c0f2576f (diff)
fix ftbfs
Diffstat (limited to 'src/backend/taler-merchant-httpd_post-orders-ID-abort.c')
-rw-r--r--src/backend/taler-merchant-httpd_post-orders-ID-abort.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/backend/taler-merchant-httpd_post-orders-ID-abort.c b/src/backend/taler-merchant-httpd_post-orders-ID-abort.c
index 19f7223e..89e13095 100644
--- a/src/backend/taler-merchant-httpd_post-orders-ID-abort.c
+++ b/src/backend/taler-merchant-httpd_post-orders-ID-abort.c
@@ -623,11 +623,13 @@ refund_coins (void *cls,
const struct TALER_Amount *wire_fee)
{
struct AbortContext *ac = cls;
+ struct GNUNET_TIME_Absolute now;
(void) amount_with_fee;
(void) deposit_fee;
(void) refund_fee;
(void) wire_fee;
+ now = GNUNET_TIME_absolute_get ();
for (unsigned int i = 0; i<ac->coins_cnt; i++)
{
struct RefundDetails *rdi = &ac->rd[i];
@@ -645,6 +647,7 @@ refund_coins (void *cls,
qs = TMH_db->refund_coin (TMH_db->cls,
ac->hc->instance->settings.id,
&ac->h_contract_terms,
+ now,
coin_pub,
/* justification */
"incomplete abortment aborted");