diff options
Diffstat (limited to 'src/backend/anastasis-httpd_truth-upload.c')
-rw-r--r-- | src/backend/anastasis-httpd_truth-upload.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/backend/anastasis-httpd_truth-upload.c b/src/backend/anastasis-httpd_truth-upload.c index 642f523..356dc36 100644 --- a/src/backend/anastasis-httpd_truth-upload.c +++ b/src/backend/anastasis-httpd_truth-upload.c | |||
@@ -321,9 +321,8 @@ check_payment_cb (void *cls, | |||
321 | const json_t *contract; | 321 | const json_t *contract; |
322 | struct TALER_Amount amount; | 322 | struct TALER_Amount amount; |
323 | struct GNUNET_JSON_Specification cspec[] = { | 323 | struct GNUNET_JSON_Specification cspec[] = { |
324 | TALER_JSON_spec_amount ("amount", | 324 | TALER_JSON_spec_amount_any ("amount", |
325 | AH_currency, | 325 | &amount), |
326 | &amount), | ||
327 | GNUNET_JSON_spec_end () | 326 | GNUNET_JSON_spec_end () |
328 | }; | 327 | }; |
329 | 328 | ||