-allow 0 for refund deadline
This commit is contained in:
parent
ac96733695
commit
18541a284b
@ -347,8 +347,9 @@ TEH_handler_deposit (struct MHD_Connection *connection,
|
|||||||
&deposit.csig),
|
&deposit.csig),
|
||||||
TALER_JSON_spec_absolute_time ("timestamp",
|
TALER_JSON_spec_absolute_time ("timestamp",
|
||||||
&deposit.timestamp),
|
&deposit.timestamp),
|
||||||
TALER_JSON_spec_absolute_time ("refund_deadline",
|
GNUNET_JSON_spec_mark_optional (
|
||||||
&deposit.refund_deadline),
|
TALER_JSON_spec_absolute_time ("refund_deadline",
|
||||||
|
&deposit.refund_deadline)),
|
||||||
TALER_JSON_spec_absolute_time ("wire_transfer_deadline",
|
TALER_JSON_spec_absolute_time ("wire_transfer_deadline",
|
||||||
&deposit.wire_deadline),
|
&deposit.wire_deadline),
|
||||||
GNUNET_JSON_spec_end ()
|
GNUNET_JSON_spec_end ()
|
||||||
|
@ -103,8 +103,9 @@ TEH_RESPONSE_compile_transaction_history (
|
|||||||
&deposit->deposit_fee),
|
&deposit->deposit_fee),
|
||||||
GNUNET_JSON_pack_time_abs ("timestamp",
|
GNUNET_JSON_pack_time_abs ("timestamp",
|
||||||
deposit->timestamp),
|
deposit->timestamp),
|
||||||
GNUNET_JSON_pack_time_abs ("refund_deadline",
|
GNUNET_JSON_pack_allow_null (
|
||||||
deposit->refund_deadline),
|
GNUNET_JSON_pack_time_abs ("refund_deadline",
|
||||||
|
deposit->refund_deadline)),
|
||||||
GNUNET_JSON_pack_data_auto ("merchant_pub",
|
GNUNET_JSON_pack_data_auto ("merchant_pub",
|
||||||
&deposit->merchant_pub),
|
&deposit->merchant_pub),
|
||||||
GNUNET_JSON_pack_data_auto ("h_contract_terms",
|
GNUNET_JSON_pack_data_auto ("h_contract_terms",
|
||||||
|
@ -527,8 +527,9 @@ TALER_EXCHANGE_verify_coin_history (
|
|||||||
&dr.h_denom_pub),
|
&dr.h_denom_pub),
|
||||||
TALER_JSON_spec_absolute_time_nbo ("timestamp",
|
TALER_JSON_spec_absolute_time_nbo ("timestamp",
|
||||||
&dr.wallet_timestamp),
|
&dr.wallet_timestamp),
|
||||||
TALER_JSON_spec_absolute_time_nbo ("refund_deadline",
|
GNUNET_JSON_spec_mark_optional (
|
||||||
&dr.refund_deadline),
|
TALER_JSON_spec_absolute_time_nbo ("refund_deadline",
|
||||||
|
&dr.refund_deadline)),
|
||||||
TALER_JSON_spec_amount_any_nbo ("deposit_fee",
|
TALER_JSON_spec_amount_any_nbo ("deposit_fee",
|
||||||
&dr.deposit_fee),
|
&dr.deposit_fee),
|
||||||
GNUNET_JSON_spec_fixed_auto ("merchant_pub",
|
GNUNET_JSON_spec_fixed_auto ("merchant_pub",
|
||||||
|
@ -680,8 +680,9 @@ TALER_EXCHANGE_deposit (struct TALER_EXCHANGE_Handle *exchange,
|
|||||||
timestamp),
|
timestamp),
|
||||||
GNUNET_JSON_pack_data_auto ("merchant_pub",
|
GNUNET_JSON_pack_data_auto ("merchant_pub",
|
||||||
merchant_pub),
|
merchant_pub),
|
||||||
GNUNET_JSON_pack_time_abs ("refund_deadline",
|
GNUNET_JSON_pack_allow_null (
|
||||||
refund_deadline),
|
GNUNET_JSON_pack_time_abs ("refund_deadline",
|
||||||
|
refund_deadline)),
|
||||||
GNUNET_JSON_pack_time_abs ("wire_transfer_deadline",
|
GNUNET_JSON_pack_time_abs ("wire_transfer_deadline",
|
||||||
wire_deadline),
|
wire_deadline),
|
||||||
GNUNET_JSON_pack_data_auto ("coin_sig",
|
GNUNET_JSON_pack_data_auto ("coin_sig",
|
||||||
|
Loading…
Reference in New Issue
Block a user