serial IDs start at 1

This commit is contained in:
Christian Grothoff 2016-11-17 15:01:06 +01:00
parent cda939f331
commit 9556fb326e
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC

View File

@ -234,6 +234,8 @@ verify_reserve_balance (void *cls,
return GNUNET_OK; return GNUNET_OK;
} }
/* TODO: check reserve.expiry? */ /* TODO: check reserve.expiry? */
reserve_in_serial_id = 1;
reserve_out_serial_id = 1;
/* FIXME: get previous reserve state from auditor DB */ /* FIXME: get previous reserve state from auditor DB */
/* FIXME: simplified computation as we have no previous reserve state yet */ /* FIXME: simplified computation as we have no previous reserve state yet */