diff options
Diffstat (limited to 'src/mint/taler-mint-httpd_deposit.c')
-rw-r--r-- | src/mint/taler-mint-httpd_deposit.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/mint/taler-mint-httpd_deposit.c b/src/mint/taler-mint-httpd_deposit.c index d92dd5ef7..eaced51c2 100644 --- a/src/mint/taler-mint-httpd_deposit.c +++ b/src/mint/taler-mint-httpd_deposit.c @@ -131,9 +131,10 @@ TALER_MINT_handler_deposit (struct RequestHandler *rh, if (cond) { GNUNET_break (0); goto EXITIF_exit; } \ } while (0) #define PARSE_DATA(field, addr) \ - EXITIF (GNUNET_OK != request_json_require_nav \ - (connection, json, \ - JNAV_FIELD, field, JNAV_RET_DATA, addr, sizeof (*addr))) + EXITIF (GNUNET_OK != \ + GNUNET_MINT_parse_navigate_json \ + (connection, json, \ + JNAV_FIELD, field, JNAV_RET_DATA, addr, sizeof (*addr))) PARSE_DATA ("coin_pub", &deposit->coin_pub); PARSE_DATA ("denom_pub", &deposit->denom_pub); PARSE_DATA ("ubsig", &ubsig); |