diff options
Diffstat (limited to 'src/auditor/taler-helper-auditor-deposits.c')
-rw-r--r-- | src/auditor/taler-helper-auditor-deposits.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/auditor/taler-helper-auditor-deposits.c b/src/auditor/taler-helper-auditor-deposits.c index 291558590..ed23c6a52 100644 --- a/src/auditor/taler-helper-auditor-deposits.c +++ b/src/auditor/taler-helper-auditor-deposits.c | |||
@@ -114,11 +114,15 @@ test_dc (void *cls, | |||
114 | .h_wire = dc->h_wire, | 114 | .h_wire = dc->h_wire, |
115 | .refund_deadline = dc->refund_deadline | 115 | .refund_deadline = dc->refund_deadline |
116 | }; | 116 | }; |
117 | struct GNUNET_TIME_Absolute exchange_timestamp; | ||
118 | struct TALER_Amount deposit_fee; | ||
117 | 119 | ||
118 | qs = TALER_ARL_edb->have_deposit (TALER_ARL_edb->cls, | 120 | qs = TALER_ARL_edb->have_deposit (TALER_ARL_edb->cls, |
119 | TALER_ARL_esession, | 121 | TALER_ARL_esession, |
120 | &dep, | 122 | &dep, |
121 | GNUNET_NO /* do not check refund deadline */); | 123 | GNUNET_NO /* do not check refund deadline */, |
124 | &deposit_fee, | ||
125 | &exchange_timestamp); | ||
122 | if (qs > 0) | 126 | if (qs > 0) |
123 | { | 127 | { |
124 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 128 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |
@@ -137,7 +141,8 @@ test_dc (void *cls, | |||
137 | TALER_ARL_report (report_deposit_confirmation_inconsistencies, | 141 | TALER_ARL_report (report_deposit_confirmation_inconsistencies, |
138 | json_pack ("{s:o, s:o, s:I, s:o}", | 142 | json_pack ("{s:o, s:o, s:I, s:o}", |
139 | "timestamp", | 143 | "timestamp", |
140 | TALER_ARL_json_from_time_abs (dc->timestamp), | 144 | TALER_ARL_json_from_time_abs ( |
145 | dc->exchange_timestamp), | ||
141 | "amount", | 146 | "amount", |
142 | TALER_JSON_from_amount (&dc->amount_without_fee), | 147 | TALER_JSON_from_amount (&dc->amount_without_fee), |
143 | "rowid", | 148 | "rowid", |