H_wire -> h_wire (#6032)
This commit is contained in:
parent
ea9c15026a
commit
9e206f533f
@ -416,7 +416,7 @@ TEH_DEPOSIT_handler_deposit (struct TEH_RequestHandler *rh,
|
||||
GNUNET_JSON_spec_fixed_auto ("coin_pub", &deposit.coin.coin_pub),
|
||||
GNUNET_JSON_spec_fixed_auto ("merchant_pub", &deposit.merchant_pub),
|
||||
GNUNET_JSON_spec_fixed_auto ("h_contract_terms", &deposit.h_contract_terms),
|
||||
GNUNET_JSON_spec_fixed_auto ("H_wire", &deposit.h_wire),
|
||||
GNUNET_JSON_spec_fixed_auto ("h_wire", &deposit.h_wire),
|
||||
GNUNET_JSON_spec_fixed_auto ("coin_sig", &deposit.csig),
|
||||
GNUNET_JSON_spec_absolute_time ("timestamp", &deposit.timestamp),
|
||||
GNUNET_JSON_spec_absolute_time ("refund_deadline",
|
||||
@ -502,7 +502,7 @@ TEH_DEPOSIT_handler_deposit (struct TEH_RequestHandler *rh,
|
||||
return TALER_MHD_reply_with_error (connection,
|
||||
MHD_HTTP_BAD_REQUEST,
|
||||
TALER_EC_DEPOSIT_INVALID_WIRE_FORMAT_CONTRACT_HASH_CONFLICT,
|
||||
"H_wire");
|
||||
"h_wire");
|
||||
}
|
||||
|
||||
/* check denomination exists and is valid */
|
||||
|
@ -357,7 +357,7 @@ TEH_TRACKING_handler_track_transaction (struct TEH_RequestHandler *rh,
|
||||
struct TALER_DepositTrackPS tps;
|
||||
struct TALER_MerchantSignatureP merchant_sig;
|
||||
struct GNUNET_JSON_Specification spec[] = {
|
||||
GNUNET_JSON_spec_fixed_auto ("H_wire", &tps.h_wire),
|
||||
GNUNET_JSON_spec_fixed_auto ("h_wire", &tps.h_wire),
|
||||
GNUNET_JSON_spec_fixed_auto ("h_contract_terms", &tps.h_contract_terms),
|
||||
GNUNET_JSON_spec_fixed_auto ("coin_pub", &tps.coin_pub),
|
||||
GNUNET_JSON_spec_fixed_auto ("merchant_pub", &tps.merchant),
|
||||
|
@ -164,7 +164,7 @@ reply_track_transfer_details (struct MHD_Connection *connection,
|
||||
"merchant_pub",
|
||||
GNUNET_JSON_from_data_auto (
|
||||
merchant_pub),
|
||||
"H_wire", GNUNET_JSON_from_data_auto (
|
||||
"h_wire", GNUNET_JSON_from_data_auto (
|
||||
h_wire),
|
||||
"execution_time",
|
||||
GNUNET_JSON_from_time_abs (exec_time),
|
||||
|
@ -312,7 +312,7 @@ TALER_AUDITOR_deposit_confirmation (struct TALER_AUDITOR_Handle *auditor,
|
||||
}
|
||||
|
||||
deposit_confirmation_obj
|
||||
= json_pack ("{s:o, s:o," /* H_wire, h_contract_terms */
|
||||
= json_pack ("{s:o, s:o," /* h_wire, h_contract_terms */
|
||||
" s:o, s:o," /* timestamp, refund_deadline */
|
||||
" s:o, s:o," /* amount_without_fees, coin_pub */
|
||||
" s:o, s:o," /* merchant_pub, exchange_sig */
|
||||
|
@ -554,7 +554,7 @@ TALER_EXCHANGE_deposit (struct TALER_EXCHANGE_Handle *exchange,
|
||||
}
|
||||
|
||||
deposit_obj = json_pack ("{s:o, s:O," /* f/wire */
|
||||
" s:o, s:o," /* H_wire, h_contract_terms */
|
||||
" s:o, s:o," /* h_wire, h_contract_terms */
|
||||
" s:o, s:o," /* coin_pub, denom_pub */
|
||||
" s:o, s:o," /* ub_sig, timestamp */
|
||||
" s:o," /* merchant_pub */
|
||||
@ -562,7 +562,7 @@ TALER_EXCHANGE_deposit (struct TALER_EXCHANGE_Handle *exchange,
|
||||
" s:o}", /* coin_sig */
|
||||
"contribution", TALER_JSON_from_amount (amount),
|
||||
"wire", wire_details,
|
||||
"H_wire", GNUNET_JSON_from_data_auto (&h_wire),
|
||||
"h_wire", GNUNET_JSON_from_data_auto (&h_wire),
|
||||
"h_contract_terms", GNUNET_JSON_from_data_auto (
|
||||
h_contract_terms),
|
||||
"coin_pub", GNUNET_JSON_from_data_auto (coin_pub),
|
||||
|
@ -301,10 +301,10 @@ TALER_EXCHANGE_track_transaction (struct TALER_EXCHANGE_Handle *exchange,
|
||||
GNUNET_CRYPTO_eddsa_sign (&merchant_priv->eddsa_priv,
|
||||
&dtp.purpose,
|
||||
&merchant_sig.eddsa_sig));
|
||||
deposit_wtid_obj = json_pack ("{s:o, s:o," /* H_wire, h_contract_terms */
|
||||
deposit_wtid_obj = json_pack ("{s:o, s:o," /* h_wire, h_contract_terms */
|
||||
" s:o," /* coin_pub */
|
||||
" s:o, s:o}", /* merchant_pub, merchant_sig */
|
||||
"H_wire", GNUNET_JSON_from_data_auto (h_wire),
|
||||
"h_wire", GNUNET_JSON_from_data_auto (h_wire),
|
||||
"h_contract_terms", GNUNET_JSON_from_data_auto (
|
||||
h_contract_terms),
|
||||
"coin_pub", GNUNET_JSON_from_data_auto (
|
||||
|
@ -98,7 +98,7 @@ check_track_transfer_response_ok (struct
|
||||
TALER_JSON_spec_amount ("total", &total_amount),
|
||||
TALER_JSON_spec_amount ("wire_fee", &wire_fee),
|
||||
GNUNET_JSON_spec_fixed_auto ("merchant_pub", &merchant_pub),
|
||||
GNUNET_JSON_spec_fixed_auto ("H_wire", &h_wire),
|
||||
GNUNET_JSON_spec_fixed_auto ("h_wire", &h_wire),
|
||||
GNUNET_JSON_spec_absolute_time ("execution_time", &exec_time),
|
||||
GNUNET_JSON_spec_json ("deposits", &details_j),
|
||||
GNUNET_JSON_spec_fixed_auto ("exchange_sig", &exchange_sig),
|
||||
|
Loading…
Reference in New Issue
Block a user