diff options
author | Christian Grothoff <christian@grothoff.org> | 2022-05-30 17:51:39 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2022-05-30 17:51:39 +0200 |
commit | ab4aa4dcfd3477971b3fb0c81a4caffff953c145 (patch) | |
tree | 2b6ce37666cdf30323cf9c108dd6f04349c8a9d0 /src/json | |
parent | 7b25787a4b8ac0a0b3cbc2174ba3cac9c564346a (diff) |
-add batch withdraw to test suite
Diffstat (limited to 'src/json')
-rw-r--r-- | src/json/json_helper.c | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/json/json_helper.c b/src/json/json_helper.c index 4896fb598..50d4705d5 100644 --- a/src/json/json_helper.c +++ b/src/json/json_helper.c @@ -347,6 +347,7 @@ TALER_JSON_spec_denom_pub (const char *field, .ptr = pk }; + pk->cipher = TALER_DENOMINATION_INVALID; return ret; } @@ -463,6 +464,7 @@ TALER_JSON_spec_denom_sig (const char *field, .ptr = sig }; + sig->cipher = TALER_DENOMINATION_INVALID; return ret; } @@ -582,6 +584,7 @@ TALER_JSON_spec_blinded_denom_sig ( .ptr = sig }; + sig->cipher = TALER_DENOMINATION_INVALID; return ret; } @@ -705,6 +708,7 @@ TALER_JSON_spec_blinded_planchet (const char *field, .ptr = blinded_planchet }; + blinded_planchet->cipher = TALER_DENOMINATION_INVALID; return ret; } @@ -780,9 +784,9 @@ parse_exchange_withdraw_values (void *cls, struct GNUNET_JSON_Specification -TALER_JSON_spec_exchange_withdraw_values (const char *field, - struct TALER_ExchangeWithdrawValues * - ewv) +TALER_JSON_spec_exchange_withdraw_values ( + const char *field, + struct TALER_ExchangeWithdrawValues *ewv) { struct GNUNET_JSON_Specification ret = { .parser = &parse_exchange_withdraw_values, @@ -790,6 +794,7 @@ TALER_JSON_spec_exchange_withdraw_values (const char *field, .ptr = ewv }; + ewv->cipher = TALER_DENOMINATION_INVALID; return ret; } |