From c2a40aa83924fd88b9c1ec0084f87109b01a8324 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Wed, 28 Oct 2015 21:06:23 +0100 Subject: fix #4032: move wire deadline form wire details to advisory field in /deposit request --- src/mint-lib/test_mint_api.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/mint-lib/test_mint_api.c') diff --git a/src/mint-lib/test_mint_api.c b/src/mint-lib/test_mint_api.c index 7b96f657c..5f465363e 100644 --- a/src/mint-lib/test_mint_api.c +++ b/src/mint-lib/test_mint_api.c @@ -1399,6 +1399,7 @@ interpreter_run (void *cls, struct TALER_CoinSpendPublicKeyP coin_pub; struct TALER_CoinSpendSignatureP coin_sig; struct GNUNET_TIME_Absolute refund_deadline; + struct GNUNET_TIME_Absolute wire_deadline; struct GNUNET_TIME_Absolute timestamp; struct TALER_MerchantPublicKeyP merchant_pub; json_t *wire; @@ -1474,6 +1475,7 @@ interpreter_run (void *cls, { refund_deadline = GNUNET_TIME_UNIT_ZERO_ABS; } + wire_deadline = GNUNET_TIME_relative_to_absolute (GNUNET_TIME_UNIT_DAYS); timestamp = GNUNET_TIME_absolute_get (); TALER_round_abs_time (×tamp); { @@ -1502,6 +1504,7 @@ interpreter_run (void *cls, cmd->details.deposit.dh = TALER_MINT_deposit (mint, &amount, + wire_deadline, wire, &h_contract, &coin_pub, -- cgit v1.2.3