-initialize final_balance even if audit failed hard
This commit is contained in:
parent
0bd3b90d5d
commit
9978bc9da3
@ -728,6 +728,12 @@ commit (enum GNUNET_DB_QueryStatus qs)
|
|||||||
&total_drained);
|
&total_drained);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
GNUNET_assert (GNUNET_OK ==
|
||||||
|
TALER_amount_set_zero (TALER_ARL_currency,
|
||||||
|
&final_balance));
|
||||||
|
}
|
||||||
if (0 > qs)
|
if (0 > qs)
|
||||||
{
|
{
|
||||||
if (GNUNET_DB_STATUS_SOFT_ERROR == qs)
|
if (GNUNET_DB_STATUS_SOFT_ERROR == qs)
|
||||||
|
Loading…
Reference in New Issue
Block a user