aboutsummaryrefslogtreecommitdiff
path: root/src/mint-lib/test_mint_api.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-10-28 21:06:23 +0100
committerChristian Grothoff <christian@grothoff.org>2015-10-28 21:06:23 +0100
commitc2a40aa83924fd88b9c1ec0084f87109b01a8324 (patch)
tree18376f785528df6997502d51a6a361d4ebec29f6 /src/mint-lib/test_mint_api.c
parent3fd22d4b6fdcb470dcbd11b35b20c0ddcf771939 (diff)
downloadexchange-c2a40aa83924fd88b9c1ec0084f87109b01a8324.tar.xz
fix #4032: move wire deadline form wire details to advisory field in /deposit request
Diffstat (limited to 'src/mint-lib/test_mint_api.c')
-rw-r--r--src/mint-lib/test_mint_api.c3
1 files changed, 3 insertions, 0 deletions
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 (&timestamp);
{
@@ -1502,6 +1504,7 @@ interpreter_run (void *cls,
cmd->details.deposit.dh
= TALER_MINT_deposit (mint,
&amount,
+ wire_deadline,
wire,
&h_contract,
&coin_pub,