diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-05-03 20:07:49 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-07-05 16:42:37 +0200 |
commit | 035c505c71610a693d3d253a3eee02d9cb9a2cbf (patch) | |
tree | a5906de2dfb04c7fcca54d97b5e47928b0a151eb | |
parent | 70a8aca668da17843a71b01806d07ece72a0ed0b (diff) | |
download | exchange-035c505c71610a693d3d253a3eee02d9cb9a2cbf.tar.xz |
modify TALER_EXCHANGE_deposits_get() API to combine returned arguments into a struct (simplifies merchant later)
-rw-r--r-- | src/include/taler_exchange_service.h | 1 | ||||
-rw-r--r-- | src/testing/testing_api_cmd_deposits_get.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/include/taler_exchange_service.h b/src/include/taler_exchange_service.h index 38928dc18..ea185f09a 100644 --- a/src/include/taler_exchange_service.h +++ b/src/include/taler_exchange_service.h @@ -1722,6 +1722,7 @@ struct TALER_EXCHANGE_DepositData * yet execute the transaction */ struct TALER_Amount coin_contribution; + }; diff --git a/src/testing/testing_api_cmd_deposits_get.c b/src/testing/testing_api_cmd_deposits_get.c index 33987e161..640ab6e34 100644 --- a/src/testing/testing_api_cmd_deposits_get.c +++ b/src/testing/testing_api_cmd_deposits_get.c @@ -112,6 +112,7 @@ deposit_wtid_cb (void *cls, { case MHD_HTTP_OK: tts->wtid = dd->wtid; + if (NULL != tts->bank_transfer_reference) { const struct TALER_TESTING_Command *bank_transfer_cmd; |