modify TALER_EXCHANGE_deposits_get() API to avoid NULL pointers and need for deep copies
This commit is contained in:
parent
cdbf3a05ae
commit
099102dc57
@ -1722,7 +1722,6 @@ struct TALER_EXCHANGE_DepositData
|
||||
* yet execute the transaction
|
||||
*/
|
||||
struct TALER_Amount coin_contribution;
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
@ -111,14 +111,7 @@ deposit_wtid_cb (void *cls,
|
||||
switch (hr->http_status)
|
||||
{
|
||||
case MHD_HTTP_OK:
|
||||
<< << << < HEAD
|
||||
tts->wtid = dd->wtid;
|
||||
====== =
|
||||
GNUNET_assert (NULL != dd->wtid);
|
||||
tts->wtid = *dd->wtid;
|
||||
>> >> >> > modify
|
||||
TALER_EXCHANGE_deposits_get () API to combine returned arguments into
|
||||
a struct (simplifies merchant later)
|
||||
tts->wtid = dd->wtid;
|
||||
if (NULL != tts->bank_transfer_reference)
|
||||
{
|
||||
const struct TALER_TESTING_Command *bank_transfer_cmd;
|
||||
|
Loading…
Reference in New Issue
Block a user