diff --git a/src/auditor/taler-auditor.c b/src/auditor/taler-auditor.c index f9f03b0f7..e19ff7376 100644 --- a/src/auditor/taler-auditor.c +++ b/src/auditor/taler-auditor.c @@ -2186,8 +2186,9 @@ check_wire_out_cb (void *cls, wcc.method = json_string_value (method); wcc.qs = GNUNET_DB_STATUS_SUCCESS_ONE_RESULT; wcc.date = date; - TALER_amount_get_zero (amount->currency, - &wcc.total_deposits); + GNUNET_assert (GNUNET_OK == + TALER_amount_get_zero (amount->currency, + &wcc.total_deposits)); if (GNUNET_OK != TALER_JSON_hash (wire, &wcc.h_wire))