yet another TALER_amount_get_zero with missing rval check
This commit is contained in:
parent
1c725c055e
commit
1261971987
@ -2186,8 +2186,9 @@ check_wire_out_cb (void *cls,
|
|||||||
wcc.method = json_string_value (method);
|
wcc.method = json_string_value (method);
|
||||||
wcc.qs = GNUNET_DB_STATUS_SUCCESS_ONE_RESULT;
|
wcc.qs = GNUNET_DB_STATUS_SUCCESS_ONE_RESULT;
|
||||||
wcc.date = date;
|
wcc.date = date;
|
||||||
|
GNUNET_assert (GNUNET_OK ==
|
||||||
TALER_amount_get_zero (amount->currency,
|
TALER_amount_get_zero (amount->currency,
|
||||||
&wcc.total_deposits);
|
&wcc.total_deposits));
|
||||||
if (GNUNET_OK !=
|
if (GNUNET_OK !=
|
||||||
TALER_JSON_hash (wire,
|
TALER_JSON_hash (wire,
|
||||||
&wcc.h_wire))
|
&wcc.h_wire))
|
||||||
|
Loading…
Reference in New Issue
Block a user