diff options
author | Christian Grothoff <christian@grothoff.org> | 2016-11-17 15:02:22 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2016-11-17 15:02:22 +0100 |
commit | ddd4a6afcc214298b7b4e35ed92de25248787f5c (patch) | |
tree | e8e7d2837fab1b0bd408a3535a72ac6d944540c6 /src | |
parent | 9556fb326e31d6653624ae94873a92bbde9da5a0 (diff) |
serial IDs start at 1, fixed in right place this time
Diffstat (limited to 'src')
-rw-r--r-- | src/auditor/taler-auditor.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/auditor/taler-auditor.c b/src/auditor/taler-auditor.c index 944427107..379ec9dbc 100644 --- a/src/auditor/taler-auditor.c +++ b/src/auditor/taler-auditor.c @@ -234,8 +234,6 @@ verify_reserve_balance (void *cls, return GNUNET_OK; } /* TODO: check reserve.expiry? */ - reserve_in_serial_id = 1; - reserve_out_serial_id = 1; /* FIXME: get previous reserve state from auditor DB */ /* FIXME: simplified computation as we have no previous reserve state yet */ @@ -275,6 +273,7 @@ analyze_reserves () { reserves = GNUNET_CONTAINER_multihashmap_create (512, GNUNET_NO); + /* FIXME: check return values... */ edb->select_reserves_in_above_serial_id (edb->cls, esession, @@ -339,8 +338,8 @@ run (void *cls, } /* FIXME: init these from auditordb */ - reserve_in_serial_id = 0; - reserve_out_serial_id = 0; + reserve_in_serial_id = 1; + reserve_out_serial_id = 1; analyze_reserves (); |