diff options
author | Christian Grothoff <christian@grothoff.org> | 2021-12-14 16:04:32 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2021-12-14 16:04:40 +0100 |
commit | 1a1fafbd438f3f21a15c990d904e192b045d2391 (patch) | |
tree | cdd32023fd1d7c530caeae0487528d7eaac2aa29 /src/bank-lib/taler-exchange-wire-gateway-client.c | |
parent | bf54ee30d4727217264f470321cc2f91facf63cc (diff) | |
download | exchange-1a1fafbd438f3f21a15c990d904e192b045d2391.tar.xz |
introducing GNUNET_TIME_Timestamp, recoup now with amounts
Diffstat (limited to 'src/bank-lib/taler-exchange-wire-gateway-client.c')
-rw-r--r-- | src/bank-lib/taler-exchange-wire-gateway-client.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/bank-lib/taler-exchange-wire-gateway-client.c b/src/bank-lib/taler-exchange-wire-gateway-client.c index 0af3d2662..ab16573a7 100644 --- a/src/bank-lib/taler-exchange-wire-gateway-client.c +++ b/src/bank-lib/taler-exchange-wire-gateway-client.c @@ -227,7 +227,7 @@ credit_history_cb (void *cls, details->credit_account_uri, TALER_B2S (&details->reserve_pub), TALER_amount2s (&details->amount), - GNUNET_STRINGS_absolute_time_to_string (details->execution_date)); + GNUNET_TIME_timestamp2s (details->execution_date)); return GNUNET_OK; } @@ -340,7 +340,7 @@ debit_history_cb (void *cls, details->credit_account_uri, TALER_B2S (&details->wtid), TALER_amount2s (&details->amount), - GNUNET_STRINGS_absolute_time_to_string (details->execution_date)); + GNUNET_TIME_timestamp2s (details->execution_date)); return GNUNET_OK; } @@ -391,7 +391,7 @@ confirmation_cb (void *cls, unsigned int response_code, enum TALER_ErrorCode ec, uint64_t row_id, - struct GNUNET_TIME_Absolute timestamp) + struct GNUNET_TIME_Timestamp timestamp) { (void) cls; eh = NULL; @@ -408,7 +408,7 @@ confirmation_cb (void *cls, fprintf (stdout, "Wire transfer #%llu executed successfully at %s.\n", (unsigned long long) row_id, - GNUNET_STRINGS_absolute_time_to_string (timestamp)); + GNUNET_TIME_timestamp2s (timestamp)); global_ret = 0; GNUNET_SCHEDULER_shutdown (); } @@ -500,7 +500,7 @@ res_cb (void *cls, unsigned int http_status, enum TALER_ErrorCode ec, uint64_t serial_id, - struct GNUNET_TIME_Absolute timestamp, + struct GNUNET_TIME_Timestamp timestamp, const json_t *json) { (void) cls; |