aboutsummaryrefslogtreecommitdiff
path: root/src/exchange-lib/exchange_api_handle.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2017-09-17 16:53:14 +0200
committerChristian Grothoff <christian@grothoff.org>2017-09-17 16:53:14 +0200
commite328b441726b964154a4a6124ab3ad3dfd80ea2e (patch)
treef64bee069734e08fd57851f1dcdaa429d47e82db /src/exchange-lib/exchange_api_handle.c
parent1c3e78724343e48c9fbc26b9985085b5d25ba540 (diff)
clean up /keys cherry picking logic, including changing the last_issue_date value to be in seconds
Diffstat (limited to 'src/exchange-lib/exchange_api_handle.c')
-rw-r--r--src/exchange-lib/exchange_api_handle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/exchange-lib/exchange_api_handle.c b/src/exchange-lib/exchange_api_handle.c
index cc44a787e..a4056ab42 100644
--- a/src/exchange-lib/exchange_api_handle.c
+++ b/src/exchange-lib/exchange_api_handle.c
@@ -1140,7 +1140,7 @@ request_keys (struct TALER_EXCHANGE_Handle *exchange)
GNUNET_asprintf (&arg,
"/keys?last_issue_date=%llu",
- (unsigned long long) exchange->key_data.last_denom_issue_date.abs_value_us);
+ (unsigned long long) exchange->key_data.last_denom_issue_date.abs_value_us / 1000000LLU);
kr->url = MAH_path_to_url (exchange,
arg);
GNUNET_free (arg);