diff --git a/src/lib/exchange_api_handle.c b/src/lib/exchange_api_handle.c index ca4c13da7..f792e89de 100644 --- a/src/lib/exchange_api_handle.c +++ b/src/lib/exchange_api_handle.c @@ -1681,8 +1681,8 @@ TALER_EXCHANGE_serialize_data GNUNET_break (0); continue; } - if (0 == json_array_append_new (denoms, - denom)) + if (0 != json_array_append_new (denoms, + denom)) { GNUNET_break (0); json_decref (denom);