diff options
Diffstat (limited to 'src/exchange/taler-exchange-httpd_responses.c')
-rw-r--r-- | src/exchange/taler-exchange-httpd_responses.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/exchange/taler-exchange-httpd_responses.c b/src/exchange/taler-exchange-httpd_responses.c index 1c2f92f0e..2e1835845 100644 --- a/src/exchange/taler-exchange-httpd_responses.c +++ b/src/exchange/taler-exchange-httpd_responses.c | |||
@@ -698,8 +698,7 @@ TEH_RESPONSE_compile_transaction_history (const struct | |||
698 | the denomination key's RSA signature over coin_pub, but as the | 698 | the denomination key's RSA signature over coin_pub, but as the |
699 | wallet should really already have this information (and cannot | 699 | wallet should really already have this information (and cannot |
700 | check or do anything with it anyway if it doesn't), it seems | 700 | check or do anything with it anyway if it doesn't), it seems |
701 | strictly unnecessary. */ | 701 | strictly unnecessary. */if (0 != |
702 | if (0 != | ||
703 | json_array_append_new (history, | 702 | json_array_append_new (history, |
704 | json_pack ("{s:s, s:o, s:o, s:o, s:o, s:o}", | 703 | json_pack ("{s:s, s:o, s:o, s:o, s:o, s:o}", |
705 | "type", "OLD-COIN-PAYBACK", | 704 | "type", "OLD-COIN-PAYBACK", |
@@ -801,8 +800,7 @@ TEH_RESPONSE_compile_transaction_history (const struct | |||
801 | hash and the denomination key's RSA signature over coin_pub, but as | 800 | hash and the denomination key's RSA signature over coin_pub, but as |
802 | the wallet should really already have this information (and cannot | 801 | the wallet should really already have this information (and cannot |
803 | check or do anything with it anyway if it doesn't), it seems | 802 | check or do anything with it anyway if it doesn't), it seems |
804 | strictly unnecessary. */ | 803 | strictly unnecessary. */if (0 != |
805 | if (0 != | ||
806 | json_array_append_new (history, | 804 | json_array_append_new (history, |
807 | json_pack ("{s:s, s:o, s:o, s:o, s:o, s:o}", | 805 | json_pack ("{s:s, s:o, s:o, s:o, s:o, s:o}", |
808 | "type", "PAYBACK-REFRESH", | 806 | "type", "PAYBACK-REFRESH", |
@@ -1172,4 +1170,5 @@ TEH_RESPONSE_reply_transaction_unknown (struct MHD_Connection *connection, | |||
1172 | "code", (json_int_t) ec); | 1170 | "code", (json_int_t) ec); |
1173 | } | 1171 | } |
1174 | 1172 | ||
1173 | |||
1175 | /* end of taler-exchange-httpd_responses.c */ | 1174 | /* end of taler-exchange-httpd_responses.c */ |