diff options
Diffstat (limited to 'src/lib/exchange_api_purses_get.c')
-rw-r--r-- | src/lib/exchange_api_purses_get.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/lib/exchange_api_purses_get.c b/src/lib/exchange_api_purses_get.c index 021954c2d..16b0e223e 100644 --- a/src/lib/exchange_api_purses_get.c +++ b/src/lib/exchange_api_purses_get.c @@ -94,11 +94,14 @@ handle_purse_get_finished (void *cls, break; case MHD_HTTP_OK: { + bool no_merge = false; struct TALER_ExchangePublicKeyP exchange_pub; struct TALER_ExchangeSignatureP exchange_sig; struct GNUNET_JSON_Specification spec[] = { - GNUNET_JSON_spec_timestamp ("merge_timestamp", - &dr.details.success.merge_timestamp), + GNUNET_JSON_spec_mark_optional ( + GNUNET_JSON_spec_timestamp ("merge_timestamp", + &dr.details.success.merge_timestamp), + &no_merge), GNUNET_JSON_spec_timestamp ("deposit_timestamp", &dr.details.success.deposit_timestamp), TALER_JSON_spec_amount_any ("balance", |